Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyringPersistence ¶
type KeyringPersistence struct {
// contains filtered or unexported fields
}
KeyringPersistence handles persisting user config to the system keyring
func New ¶
func New() (*KeyringPersistence, error)
func (*KeyringPersistence) Get ¶
func (p *KeyringPersistence) Get() *userconfig.UserConfig
func (*KeyringPersistence) Save ¶
func (p *KeyringPersistence) Save() error
This saves the user part of the config
func (*KeyringPersistence) Set ¶
func (p *KeyringPersistence) Set(config *userconfig.UserConfig) error
Set updates and saves the config
Click to show internal directories.
Click to hide internal directories.