Documentation
¶
Index ¶
Constants ¶
View Source
const ( RPCClientRetries = 3 RPCClientBackoff = 2 RPCClientDelay = 100 * time.Millisecond RPCClientTimeout = time.Second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control interface {
HandlePeer(peer *vnic.Peer)
AddPeerHandler(h PeerHandler)
}
func NewControl ¶
func NewControl( logger *zap.Logger, observers *event.Observers, vpn *vpn.Host, handlers ...PeerHandler, ) Control
NewControl ...
Click to show internal directories.
Click to hide internal directories.