Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VerboseFlag bool PushApiEndpoint string PushToDevices []string PushTitle string PushUrl string PushUrlTitle string PushPriority string PushSound string PushTimestamp int64 PushAttachment string LimitsApiEndpoint string )
View Source
var ( Version = "dev" ApplicationName = "pushover-cli" CommandName = "pushover-cli" )
Functions ¶
func ClearConfig ¶
ClearConfig will remove the first configuration file that can be found from the system. It will return the path that was removed and a possible error.
func GetConfigDir ¶
func SaveConfig ¶
func SaveConfig(config *Config)
Types ¶
type ApiRateLimit ¶
type ApiResponse ¶
type Config ¶
func LoadConfig ¶
LoadConfig tries to load the config that could be stored in many different locations based on the OS. It returns the current config and a flag if the config was successfully loaded.
Click to show internal directories.
Click to hide internal directories.