Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Connection struct { Server string `json:"server"` Port int `json:"port"` Database string `json:"database"` Username string `json:"username"` Password string `json:"password"` } `json:"connection"` ServerPaths struct { Log string `json:"log"` Backup string `json:"backup"` YoutubeDL string `json:"youtube-dl"` Thumbnails string `json:"thumbnails"` Videos string `json:"videos"` } `json:"server-paths"` ClientPaths struct { Log string `json:"log"` Thumbnails string `json:"thumbnails"` Videos string `json:"videos"` } `json:"client-paths"` Logs struct { Backup string `json:"backup"` Update string `json:"update"` Download string `json:"download"` SoftTube string `json:"softtube"` Cleanup string `json:"cleanup"` Shrink string `json:"shrink"` } `json:"logs"` Intervals struct { High int `json:"high"` Medium int `json:"medium"` Low int `json:"low"` } `json:"intervals"` }
Config for the SoftTube program
Click to show internal directories.
Click to hide internal directories.