cachingservice

package
v0.0.0-...-41da413 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteToken

func DeleteToken(subkey string, userID uint)

func GetToken

func GetToken(subkey string, userID uint) (str string)

func SetToken

func SetToken(subkey string, moreParams ...interface{})

Types

type Token

type Token struct {
	ID         string
	Expiration time.Duration
	UserID     uint
}

Jump to

Keyboard shortcuts

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