utils

package
v0.0.0-...-fec0d50 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthJWT

func AuthJWT(ctx context.Context) (*jwt.StandardClaims, error)

func EncodeMD5

func EncodeMD5(value string) string

EncodeMD5 md5 encryption

func GenerateTokens

func GenerateTokens(userId string) (string, string, error)

func ParseToken

func ParseToken(token string) (*jwt.StandardClaims, error)

ParseToken parsing token

Types

This section is empty.

Jump to

Keyboard shortcuts

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