Documentation ¶
Index ¶
Constants ¶
View Source
const ( Local mode = iota LAN WAN )
Nework modes
Variables ¶
View Source
var ( // DefaultKey is the default key, you should change this if using secure DefaultKey = []byte("DefaultGossipKey") // ExpiryTick is the interval to perform cleans on the state ExpiryTick = time.Second * 10 )
Functions ¶
func NewRegistry ¶
NewRegistry creates a new registry
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.