constants

package
v0.0.0-...-bc169e4 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADMIN UserRole = iota + 1
	CUSTOMER
	COMMITTEE

	PATH string = "/proto.AuthService/"

	TOKEN_EXPIRED             string = "token has been expired"
	REFRESH_TOKEN_EXPIRED     string = "refresh token has been expired"
	FAILED_TO_EXTRACT         string = "failed to extract jwt payload"
	UNEXPECTED_SIGNING_METHOD string = "unexpected signing method: %v"

	INFO  string = "INFO"
	WARN  string = "WARN"
	ERROR string = "ERROR"
	FATAL string = "FATAL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRole

type UserRole int8

Jump to

Keyboard shortcuts

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