raw

package
v0.0.0-...-0c811c1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SrvName   = "starmap.srv.auth"
	SrvVer    = "latest"
	UserDB    = "starmap_user"
	UserInfoC = "userinfo"
)

raw

Variables

View Source
var (
	ErrRepoNotFound = errors.New("repo not found")
	ErrRepoError    = errors.New("repo error, please retry")

	ErrUserNotExist = errors.New("user not exist")
	ErrRoleNotExist = errors.New("role not exist")
	ErrPermNotExist = errors.New("perm not exist")
	ErrUserHasExist = errors.New("user has exist")
	ErrRoleHasExist = errors.New("role has exist")
	ErrPermHasExist = errors.New("perm has exist")
	ErrPassWrong    = errors.New("pass wrong")

	ErrInvalidJWT = errors.New("jwt invalid")
	ErrSignJWT    = errors.New("jwt sign error")

	ErrNotUpdate    = errors.New("can't update")
	ErrUnknowAction = errors.New("unknow action")
)

errors

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