tokencache

package
v0.0.0-...-40e63e7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2023 License: MIT Imports: 3 Imported by: 0

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 New

func New(filename string) Tokencache

func (*Tokencache) Cached

func (t *Tokencache) Cached() *oauth2.Token

func (*Tokencache) Read

func (t *Tokencache) Read() (*oauth2.Token, error)

func (*Tokencache) Write

func (t *Tokencache) Write(token oauth2.Token) error

Jump to

Keyboard shortcuts

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