start on a wrapper for sam3

This commit is contained in:
eyedeekay
2025-02-23 18:01:43 -05:00
parent 6587c5c635
commit c50775ebfd
22 changed files with 2313 additions and 13 deletions

15
raw.go Normal file
View File

@@ -0,0 +1,15 @@
package sam3
import (
"github.com/go-i2p/go-sam-go/raw"
)
// The RawSession provides no authentication of senders, and there is no sender
// address attached to datagrams, so all communication is anonymous. The
// messages send are however still endpoint-to-endpoint encrypted. You
// need to figure out a way to identify and authenticate clients yourself, iff
// that is needed. Raw datagrams may be at most 32 kB in size. There is no
// overhead of authentication, which is the reason to use this..
type RawSession struct {
*raw.RawSession
}