Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
Authenticator is an interface for user authentication.
func NewAuthenticator ¶
func NewAuthenticator(kvs map[string]string) Authenticator
NewAuthenticator creates an Authenticator that authenticates client by pre-defined user mapping.
Click to show internal directories.
Click to hide internal directories.