Documentation ¶
Overview ¶
Package session implements an encrypted data stream, authenticated through the station-to-station key exchange.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct { Sink chan *Session // Channel receiving the accepted sessions // contains filtered or unexported fields }
Session listener to accept inbound authenticated sessions.
func Listen ¶
Starts a TCP listener to accept incoming sessions, returning the socket ready to accept. If an auto-port (0) is requested, the port is updated in the arg.
type Session ¶
type Session struct { CtrlLink *link.Link // Network connection for high priority control messages DataLink *link.Link // Network connection for low priority data messages // contains filtered or unexported fields }
Accomplishes secure and authenticated full duplex communication.
Click to show internal directories.
Click to hide internal directories.