Documentation
¶
Index ¶
Constants ¶
View Source
const ( NameKey = "user" PasswordKey = "password" )
Variables ¶
View Source
var (
ErrorFailed = errorhandler.DefaultErrHandler.LNewErrorDesc(10024, "user_name or password never correct")
)
Functions ¶
func NewBasicAuth ¶
Types ¶
type LRPCAuthorization ¶
func (*LRPCAuthorization) Receive4S ¶
func (a *LRPCAuthorization) Receive4S(pub *plugin.Context, msg *message.Message) perror.LErrorDesc
func (*LRPCAuthorization) Send4C ¶
func (a *LRPCAuthorization) Send4C(pub *plugin.Context, msg *message.Message, err perror.LErrorDesc) perror.LErrorDesc
Click to show internal directories.
Click to hide internal directories.