cache

package
v1.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fs

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

func NewFs

func NewFs() *Fs

func (Fs) Get

func (f Fs) Get(account string) (string, error)

func (Fs) Set

func (f Fs) Set(account string, token string) error

type Memory

type Memory map[string]struct {
	// contains filtered or unexported fields
}

func NewMemory

func NewMemory() Memory

func (Memory) Get

func (m Memory) Get(account string) (string, error)

func (Memory) Set

func (m Memory) Set(account string, token string) error

Jump to

Keyboard shortcuts

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