Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dialer = net.Dialer{ Timeout: 10 * time.Second, }
Dialer is the default dialer that this package uses for all its dialing.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { GatewayIP string GatewayPort uint16 // contains filtered or unexported fields }
func DialConnectionCtx ¶ added in v0.10.0
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) Start ¶
func (c *Connection) Start(secret *[32]byte)
Click to show internal directories.
Click to hide internal directories.