Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // SaveTo is the path to save the downloaded image. SaveTo string `json:"save_to" yaml:"save_to" xml:"save_to" toml:"save_to" mapstructure:"save_to"` }
Configuration represents the configuration for the downloader.
func InitializeWithDefaults ¶
func InitializeWithDefaults() *Configuration
InitializeWithDefaults initializes the configuration struct with default values.
func (*Configuration) GetSaveTo ¶
func (configuration *Configuration) GetSaveTo() string
GetSaveTo returns the path to save the downloaded image.
Click to show internal directories.
Click to hide internal directories.