Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrArgon2IncompatibleVersion error = errors.New("argon2 version is incompatible")
View Source
var ErrArgon2InvalidHash error = errors.New("hash is invalid")
View Source
var ErrCouldNotFindPostgresURI error = errors.New("could not find postgres uri environment variable")
View Source
var ErrFailedToConnect error = errors.New("failed to connect to database")
View Source
var ErrNoteAlreadyExists error = errors.New("note already exists")
View Source
var ErrNoteDoesntExist error = errors.New("note doesn't exist")
View Source
var ErrNoteNameTooShort error = errors.New("note name must be at least 5 characters long")
View Source
var ErrPasswordTooShort error = errors.New("password must be at least 8 characters")
View Source
var ErrUserAlreadyExists error = errors.New("user already exists")
View Source
var ErrUserDoesntExist error = errors.New("user doesn't exist")
View Source
var ErrUsernameMustContainAlphaNumeric error = errors.New("username can only contain alphanumeric characters")
View Source
var ErrUsernameTooShort error = errors.New("username must be at least 4 characters")
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.