Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAuthFailure = errors.New("auth: Authentication failure") ErrAuthProviderNotFound = errors.New("auth: Authentication provider not found") )
View Source
var Default = "default"
Functions ¶
func Unregister ¶
func Unregister(name string)
Types ¶
type Authenticator ¶
func NewDefaultAuth ¶
func NewDefaultAuth() Authenticator
func NewMysqlAuth ¶
func NewMysqlAuth() Authenticator
func NewRedisAuth ¶
func NewRedisAuth() Authenticator
Source Files ¶
Click to show internal directories.
Click to hide internal directories.