Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Subreddits []string DownloadPath string `json:"downloadPath"` FileExt map[string]bool `json:"fileExt"` }
Config hold data on what Reddits to pull from
func (*Config) LoadConfig ¶
LoadConfig will load in a config from a path
type DownloadFile ¶
DownloadFile holds the details for the file to download
func (*DownloadFile) DownloadFile ¶
func (f *DownloadFile) DownloadFile(directory string) bool
DownloadFile is used to download the file to the local system
Click to show internal directories.
Click to hide internal directories.