//
pkg.gl
Category
github.com/chronosphereio/chronoctl-core
src
cmd
pkg
token
package
1.10.1
Repository:
https://github.com/chronosphereio/chronoctl-core.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
135 SLOC
#
Functions
NewFileStore
NewFileStore returns a token store that stores tokens on disk relative to a given root.
#
Variables
ErrNotExist
ErrNotExist is returned when a token doesn't exist.
ErrTokenExpired
ErrTokenExpired is returned from Get when a token is past its expiration.
#
Structs
Entry
Entry provides metadata about a token stored in the token store.
Store
Store can store and retrieve tokens from the local file system.
Token
Token is a generic token stored with an expiration time.