locales

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	JWTMissingToken           = "jwt.token.missing"
	JWTTokenInvalid           = "jwt.token.invalid"
	JWTTokenExpired           = "jwt.token.expired"
	JWTTokenParseFail         = "jwt.token.parse.failed"
	JWTTokenSignFail          = "jwt.token.sign.failed"
	JWTUnSupportSigningMethod = "jwt.wrong.signing.method"
	IdempotentMissingToken    = "idempotent.token.missing"
	IdempotentTokenExpired    = "idempotent.token.invalid"
	UserListUnauthorized      = "user.list.unauthorized"
	UserOperationForbidden    = "user.operation.forbidden"
	UserAlreadyExists         = "user.exists"

	TooManyRequests    = "too.many.requests"
	DataNotChange      = "data.not.change"
	DuplicateField     = "duplicate.field"
	RecordNotFound     = "record.not.found"
	NoPermission       = "no.permission"
	IncorrectPassword  = "login.incorrect.password"
	SamePassword       = "login.same.password"
	InvalidCaptcha     = "login.invalid.captcha"
	LoginFailed        = "login.failed"
	UserLocked         = "login.user.locked"
	KeepLeastOntAction = "action.keep.least.one.action"
	DeleteYourself     = "user.delete.yourself"
)

Variables

View Source
var Locales embed.FS

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