token

package
v0.0.0-...-be9ad27 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Every

func Every(duration time.Duration, work func(time.Time) bool) chan bool

func SetServiceAccountFilePath

func SetServiceAccountFilePath(saFile string)

Types

type AccessToken

type AccessToken struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*AccessToken) GetAccessToken

func (a *AccessToken) GetAccessToken() string

func (*AccessToken) ObtainAccessToken

func (a *AccessToken) ObtainAccessToken() (err error)

ObtainAccessToken will generate a new one

Jump to

Keyboard shortcuts

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