mirror of
https://github.com/go-i2p/go-sam-go.git
synced 2025-07-21 11:53:13 -04:00
start on a wrapper for sam3
This commit is contained in:
15
raw.go
Normal file
15
raw.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user