Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigLocation ¶ added in v1.1.17
func OpenConfig ¶ added in v1.1.17
func SaveConfig ¶ added in v1.1.17
func SaveConfig() error
Types ¶
type Config ¶ added in v1.1.17
type Config struct { DivoltSessionTokens []string `json:"divoltsessiontokens"` DivoltLoginCredentials []*ConfigCredential `json:"divoltlogincredentials"` DiscordSessionTokens []string `json:"discordsessiontokens"` DiscordLoginCredentials []*ConfigCredential `json:"discordlogincredentials"` DownloadCmd *ConfigDownloadCmd `json:"downloadcmd"` }
var Open *Config
type ConfigCredential ¶ added in v1.1.17
type ConfigDownloadCmd ¶ added in v1.1.17
type ConfigDownloadCmd struct { UseDiscord bool `json:"usediscord"` OutputDir string `json:"outputdir"` LogLevel string `json:"loglevel"` Quality int `json:"quality"` Timeout int `json:"timeout"` Cooldown int `json:"cooldown"` Ignore *ConfigDownloadCmdIgnore `json:"ignore"` Skip *ConfigDownloadCmdSkip `json:"skip"` }
type ConfigDownloadCmdIgnore ¶ added in v1.1.17
type ConfigDownloadCmdSkip ¶ added in v1.1.17
type ConfigDownloadCmdSkip struct {
Unzip bool `json:"unzip"`
}
Click to show internal directories.
Click to hide internal directories.