Documentation
¶
Index ¶
- func SaveFile()
- type Credential
- type CredentialKeyer
- type InitCfg
- func (cfg *InitCfg) CredDelete(uuid string)
- func (cfg *InitCfg) CredInsert(user string, provider any, data map[string]string)
- func (cfg *InitCfg) CredNote(uuid, data string)
- func (cfg *InitCfg) CredSelect(uuid string) string
- func (cfg *InitCfg) CredUpdate(uuid, data string)
- func (cfg *InitCfg) Snapshot() []Credential
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credential ¶
type CredentialKeyer ¶ added in v0.2.7
type InitCfg ¶
type InitCfg struct {
Path string
Creds []Credential
// contains filtered or unexported fields
}
var Cfg *InitCfg
func (*InitCfg) CredDelete ¶
func (*InitCfg) CredInsert ¶
func (*InitCfg) CredSelect ¶
func (*InitCfg) CredUpdate ¶ added in v0.0.5
func (*InitCfg) Snapshot ¶ added in v0.2.0
func (cfg *InitCfg) Snapshot() []Credential
Snapshot returns a shallow copy of Creds safe for iteration outside the package.
Click to show internal directories.
Click to hide internal directories.