Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator interface { Verify(ctx *params.ValueContext, user string, pass string) bool VerifyByIp(ctx *params.ValueContext) (authed bool, isSupport bool) Users() []string }
func NewAuthenticator ¶
func NewAuthenticator(users []AuthUser) Authenticator
Click to show internal directories.
Click to hide internal directories.