Documentation ¶
Index ¶
Constants ¶
View Source
const (
//ClaimMetaKey claim key in meta
ClaimMetaKey claimKey = "ClaimKey"
)
Variables ¶
View Source
var DB *gorm.DB
DB Postgres Database
View Source
var JwtKey = []byte(os.Getenv("JWT_KEY"))
JwtKey auth key
Functions ¶
func Authenticate ¶
Authenticate for grpc
func GetRandomNumberString ¶
GetRandomNumberString by length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.