Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StopSrv = make(chan struct{}) StopCli = make(chan struct{}) Peer *peer )
Functions ¶
func AddHandler ¶
func AddHandler(name string, f FuncHandler)
Types ¶
type FuncHandler ¶
type FuncHandler func([]byte, *tcpnetwork.Connection)
Click to show internal directories.
Click to hide internal directories.