Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
func NewTokenAuthenticator ¶
func NewTokenAuthenticator(token string) Authenticator
type TokenAuthenticator ¶
type TokenAuthenticator struct {
// contains filtered or unexported fields
}
func (*TokenAuthenticator) VerifyLogin ¶
func (t *TokenAuthenticator) VerifyLogin(msg *proto.MsgLogin) bool
Click to show internal directories.
Click to hide internal directories.