Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyLogin = errors.New("login is empty") ErrPasswordsNotEqual = errors.New("passwords are not equal") ErrBadCredentials = errors.New("bad credentials") ErrUserNotFound = errors.New("user not found") ErrUserAlreadyExists = errors.New("user already exists") ErrNoUsers = errors.New("no users registered") )
Functions ¶
func NewAuthenticator ¶
func NewAuthenticator() *authenticator
func NewUsersStorageImpl ¶
func NewUsersStorageImpl() *usersStorageImpl
Types ¶
Click to show internal directories.
Click to hide internal directories.