Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DeleteEntry string
View Source
var DocHost string
View Source
var DownloadBlob string
View Source
var ListDocs string
View Source
var NewTokenDevice string
View Source
var NewUserDevice string
View Source
var SyncComplete string
View Source
var UpdateStatus string
View Source
var UploadBlob string
View Source
var UploadRequest string
Functions ¶
func ConfigPath ¶
ConfigPath returns the path to the config file. It will check the following in order:
- If the RMAPI_CONFIG environment variable is set, it will use that path.
- If a config file exists in the user's home dir as described by os.UserHomeDir, it will use that.
- Otherwise, it will use the XDG config dir, as described by os.UserConfigDir.
func LoadTokens ¶
func LoadTokens(path string) model.AuthTokens
func SaveTokens ¶
func SaveTokens(path string, tokens model.AuthTokens)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.