Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvLocal = "local" EnvDev = "dev" EnvProd = "prod" )
View Source
const ( FmtStarting = "starting" FmtCannotStart = "can't start" FmtErrOnStarting = "error on starting" FmtStopping = "stopping" FmtCannotStop = "can't stop" FmtErrOnStopping = "error on stopping" )
View Source
const ( UserRoleID = iota + 1 AdminRoleID )
View Source
const ( Admin = "admin" User = "user" )
Variables ¶
View Source
var ( // ErrStartingCmp = errors.New(FmtCannotStart) ErrInvalidAffectedRows = errors.New("invalid number of affected rows") ErrInvalidInviteToken = errors.New("invalid invite token") ErrInvalidAccessToken = errors.New("invalid access token") ErrLoginAlreadyExists = errors.New("login already exists") ErrInvalidCredentials = errors.New("invalid credentials") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.