Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
func NewAuthenticator(opts ...Option) auth.Authenticator
NewAuthenticator creates an Authenticator that authenticates client by pre-defined user mapping.
Types ¶
type Option ¶
type Option func(opts *options)
func AuthsPeriodOption ¶
func FileLoaderOption ¶
func LoggerOption ¶
func RedisLoaderOption ¶
func ReloadPeriodOption ¶
Click to show internal directories.
Click to hide internal directories.