store

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtStore

type JwtStore struct {
	// contains filtered or unexported fields
}

a thread safe JWT Token Store with validation and expiration check use for caching

func (*JwtStore) GetValidJwt

func (s *JwtStore) GetValidJwt(key string) string

func (*JwtStore) StoreJwtToken

func (s *JwtStore) StoreJwtToken(key, token string)

Jump to

Keyboard shortcuts

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