Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dump ¶
func Dump() rpcx.MiddlewareFunc
func MqMakeHeader ¶
func MqMakeHeader(target, reply string) rpcx.RpcMsgHeader
func Recover ¶
func Recover(allStack bool) rpcx.MiddlewareFunc
func RequestNotNil ¶
func RequestNotNil() rpcx.MiddlewareFunc
func ValidateStruct ¶
func ValidateStruct(flag ValidateFlag, v std.Validator) rpcx.MiddlewareFunc
only validate struct , other values will ignore
Types ¶
type Mq ¶
type Mq struct {
// contains filtered or unexported fields
}
func (*Mq) Middleware ¶
func (this *Mq) Middleware() rpcx.MiddlewareFunc
type MqSendFunc ¶
type ValidateFlag ¶
type ValidateFlag uint8
const ( ValidateNone ValidateFlag = 0x00 ValidateIn ValidateFlag = 0x01 ValidateOut ValidateFlag = 0x02 ValidateInOut = ValidateIn | ValidateOut )
Click to show internal directories.
Click to hide internal directories.