mirror of
https://github.com/go-i2p/go-sam-go.git
synced 2025-06-07 09:03:18 -04:00
Implement tests for RawSession
This commit is contained in:
4
Makefile
4
Makefile
@ -22,14 +22,14 @@ test:
|
||||
make common-test
|
||||
make stream-test
|
||||
make datagram-test
|
||||
#make raw-test
|
||||
make raw-test
|
||||
#make primary-test
|
||||
|
||||
test-logs:
|
||||
make common-test 2> common-err.log 1> common-out.log; cat common-err.log common-out.log
|
||||
make stream-test 2> stream-err.log 1> stream-out.log; cat stream-err.log stream-out.log
|
||||
make datagram-test 2> datagram-err.log 1> datagram-out.log; cat datagram-err.log datagram-out.log
|
||||
#make raw-test 2> raw-err.log 1> raw-out.log; cat raw-err.log raw-out.log
|
||||
make raw-test 2> raw-err.log 1> raw-out.log; cat raw-err.log raw-out.log
|
||||
#make primary-test 2> primary-err.log 1> primary-out.log; cat primary-err.log primary-out.log
|
||||
|
||||
godoc:
|
||||
|
@ -12,7 +12,7 @@ The package provides unencrypted raw datagram messaging over I2P networks. [`Raw
|
||||
|
||||
Create sessions using [`NewRawSession`](raw/session.go), send messages with [`SendDatagram()`](raw/session.go), and receive messages using [`ReceiveDatagram()`](raw/session.go). The implementation supports I2P address resolution, configurable tunnel parameters, and comprehensive error handling with proper resource cleanup.
|
||||
|
||||
Key features include full `net.PacketConn` and `net.Conn` compatibility, I2P destination management, base64 payload encoding, and concurrent raw datagram processing with proper synchronization.
|
||||
Key features include full `net.PacketConn` compatibility, I2P destination management, base64 payload encoding, and concurrent raw datagram processing with proper synchronization.
|
||||
|
||||
## Dependencies
|
||||
|
||||
|
Reference in New Issue
Block a user