Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelHandler ¶
type ChannelHandler func(c *context.Context, req chan *parcel.RocPacket, errs chan error) ( chan proto.Message, chan error, )
ChannelHandler for rpc service channel handler
type Handler ¶
type Handler func(c *context.Context, req *parcel.RocPacket, interrupt Interceptor) (rsp proto.Message, err error)
Handler for rpc service handler
type Interceptor ¶
Interceptor for rpc request response interceptor function
type StreamHandler ¶
StreamHandler for rpc service stream handler
Click to show internal directories.
Click to hide internal directories.