Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRPCHandlers ¶
func GetRPCHandlers() *map[uint32]RPCHandler
GetRPCHandlers - Returns a map of server-side msg handlers
func GetTunnelHandlers ¶
func GetTunnelHandlers() *map[uint32]TunnelHandler
GetTunnelHandlers - Returns a map of tunnel handlers
Types ¶
type RPCHandler ¶
type RPCHandler func([]byte, time.Duration, RPCResponse)
RPCHandler - RPC handlers accept bytes and return bytes
type RPCResponse ¶
RPCResponse - Called with response data, mapped back to reqID
type TunnelHandler ¶
type TunnelHandler func(*core.Client, []byte, RPCResponse)
Click to show internal directories.
Click to hide internal directories.