cache

package
v1.27.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenCache

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

func NewTokenCache

func NewTokenCache(tokenKey string, token *string) *TokenCache

func NewTokenCacheEmpty

func NewTokenCacheEmpty() *TokenCache

func (*TokenCache) AddToken

func (tc *TokenCache) AddToken(tokenKey string, token *string) error

func (*TokenCache) Clear

func (tc *TokenCache) Clear()

func (*TokenCache) GetToken

func (tc *TokenCache) GetToken(tokenKey string) *string

Jump to

Keyboard shortcuts

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