common

package
v0.0.0-...-5284134 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AesDecryptCBC

func AesDecryptCBC(enc string, key []byte) (string, error)

func AesEncryptCBC

func AesEncryptCBC(origData []byte, key []byte) string

func Md5

func Md5(str []byte) []byte

func ReleaseToken

func ReleaseToken(id int64) (token string, err error)

Types

type Claims

type Claims struct {
	Userid int64
	jwt.StandardClaims
}

func ParseToken

func ParseToken(token string) (*Claims, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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