Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRpc = errors.New("rpc is not available") ErrRpcTimeout = errors.New("rpc call timeout") )
View Source
var ( PingService = "Logic.Ping" RegisterService = "Logic.Register" )
Functions ¶
func ListenAndServe ¶
func ListenAndServe(addr string, srcvr ...interface{})
ListenAndServe run rpc server
Types ¶
type ClientOptions ¶
Click to show internal directories.
Click to hide internal directories.