jwt

package
v0.0.0-...-d5480cd Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisStore

type RedisStore struct {
	Expiration time.Duration
	PreKey     string
	Context    context.Context
}

func GetRedisStore

func GetRedisStore() *RedisStore

func (*RedisStore) Del

func (rs *RedisStore) Del(key string) error

func (*RedisStore) Get

func (rs *RedisStore) Get(key string, clear bool) string

func (*RedisStore) Set

func (rs *RedisStore) Set(key string, value string) error

func (*RedisStore) UseWithCtx

func (rs *RedisStore) UseWithCtx(ctx context.Context) *RedisStore

func (*RedisStore) Verify

func (rs *RedisStore) Verify(key string, answer string, clear bool) bool

Jump to

Keyboard shortcuts

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