consts

package
v0.0.0-...-a051c0a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL