tokensetredis

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenSet

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

func NewTokenSet

func NewTokenSet(client *rds.Client) *TokenSet

func (*TokenSet) GetToken

func (toks *TokenSet) GetToken(key string) (*oauth2.Token, error)

func (*TokenSet) GetTokenInfo

func (toks *TokenSet) GetTokenInfo(key string) (*tokens.TokenInfo, error)

func (*TokenSet) SetTokenInfo

func (toks *TokenSet) SetTokenInfo(key string, tok *tokens.TokenInfo) error

Jump to

Keyboard shortcuts

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