Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Backup ¶
func Backup() error
Backup fetchs all the items and store it in the current directory.
func Remove ¶ added in v0.6.0
func Remove() error
Remove removes the credential files from the current directory.
Types ¶
type Config ¶
type Config struct {
Endpoint string `json:"endpoint"`
Email string `json:"email"`
BearerToken string `json:"bearer_token"` // JWT used before 20200115
Session libsf.Session `json:"session"` // Since 20200115
KeyChain libsf.KeyChain `json:"keychain"`
}
A Config holds client's configuration.
Click to show internal directories.
Click to hide internal directories.