Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MultiReCvErr = drpc.NewStatus( drpc.CodeInternalServerError, "auth-checker plugin usage is incorrect", "multiple call ReCvOnce function", )
MultiReCvErr authCheckerPlugin 并发认证限制
View Source
var MultiSendErr = drpc.NewStatus( drpc.CodeWriteFailed, "auth-bearer plugin usage is incorrect", "multiple call SendOnce function", )
MultiSendErr authBearerPlugin组件并发发送限制
Functions ¶
func NewBearerPlugin ¶
func NewBearerPlugin(fn Bearer, setting ...message.MsgSetting) drpc.Plugin
NewBearerPlugin 创建票据生成插件
func NewCheckerPlugin ¶
func NewCheckerPlugin(fn Checker, setting ...message.MsgSetting) drpc.Plugin
NewCheckerPlugin 创建票据检查插件
Types ¶
Click to show internal directories.
Click to hide internal directories.