Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { APIKey string `json:"apiKey"` Dir string `json:"dir"` API string `json:"api"` XAPI string `json:"xapi"` File string `json:"-"` // full path to config file }
Config represents the settings for particular user. This defines both the auth for talking to the API, as well as where to put problems that get downloaded.
func (*Config) IsAuthenticated ¶ added in v1.7.1
IsAuthenticated returns true if the config contains an API key. This does not check whether or not that key is valid.
Click to show internal directories.
Click to hide internal directories.