Implement tests for RawSession

This commit is contained in:
eyedeekay
2025-06-01 17:21:15 -04:00
parent 102c79f535
commit 3dee698d01
2 changed files with 3 additions and 3 deletions

View File

@ -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:

View File

@ -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