Documentation ¶
Index ¶
Constants ¶
View Source
const TOKEN_BYTES_LENGTH = 32
View Source
const TOKEN_LENGTH = 64
Variables ¶
View Source
var ( ErrEntityNotFound = errors.New("Entity wasn't found") ErrEntityExists = errors.New("Entity already exist") )
View Source
var ( ErrLoginTaken = errors.New("Login is already taken") ErrNoChange = errors.New("No changes") ErrBanYourself = errors.New("You cannot ban yourself") )
View Source
var (
ErrTokenLen = fmt.Errorf("Token length should be equal to %d", TOKEN_LENGTH)
)
Functions ¶
This section is empty.
Types ¶
type UserCreationOpts ¶
Click to show internal directories.
Click to hide internal directories.