Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reset ¶
func Reset() error
Reset will reinitialize the settings var with the defaults, useful for debugging or completely resetting customized settings and here to be called from the cli to reset a user's workstation
Types ¶
type Data ¶
Data is the settings entry which holds settings data, currently this is only the current JWT token for making requests
type Settings ¶
type Settings struct {
Data Data
}
Settings is the container for the cli settings
func NewSettingsWithDefaults ¶
func NewSettingsWithDefaults() Settings
NewSettingsWithDefaults returns a settings object with data defaults set, primarily to encapsulate defaults that can be over-ridden by those in the know via btck settings set-url --key=value
Click to show internal directories.
Click to hide internal directories.