cache

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveFile

func SaveFile()

Types

type Credential

type Credential struct {
	UUID      string
	User      string
	AccessKey string
	Provider  string
	JsonData  string
}

type InitCfg

type InitCfg struct {
	Path  string
	Creds []Credential
}
var Cfg *InitCfg

func NewConfig

func NewConfig() *InitCfg

func (*InitCfg) CredDelete

func (cfg *InitCfg) CredDelete(uuid string)

func (*InitCfg) CredInsert

func (cfg *InitCfg) CredInsert(user string, data map[string]string)

func (*InitCfg) CredSelect

func (cfg *InitCfg) CredSelect(uuid string) string

func (*InitCfg) CredUpdate added in v0.0.5

func (cfg *InitCfg) CredUpdate(uuid, data string)

Jump to

Keyboard shortcuts

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