Documentation ¶
Index ¶
Constants ¶
View Source
const ( CMD_ROUTE = "route" CMD_ROUTE_REPLY = "route:reply" )
Variables ¶
View Source
var (
ErrNotSupportedType = errors.New("not supported type")
)
Functions ¶
func ClientSide ¶
func ClientSide(nextHandleFunc protocal.HandshakeHandleFunc, nextCmd string, nextDetails interface{}) protocal.HandshakeHandleFunc
func ServerSide ¶
func ServerSide(router *service.Router) protocal.HandshakeHandleFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.