common

package
v0.0.0-...-7d1b39b Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSaltPassword

func GenSaltPassword(salt, password string) string

GenSaltPassword 生成一个含有盐值的密码字符串

func ProduceToken

func ProduceToken(tokenKey string, userId uint32, expired time.Duration) (string, error)

ProduceToken 生成Token

Types

This section is empty.

Jump to

Keyboard shortcuts

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