dal

package
v0.0.0-...-56c8b3f Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExpirationUser  = time.Minute * 5
	ExpirationToken = time.Hour * 24 * 7
)

Variables

This section is empty.

Functions

func GetUserToken

func GetUserToken(ctx context.Context, PassportUid string) (string, error)

func InitRedis

func InitRedis()

func SaveUserToken

func SaveUserToken(ctx context.Context, PassportUid, Token string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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