Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppVersion = "v0.0.1" BuildTime = none GitCommit = none GitRef = none GitRepo = "https://github.com/RoyalFlyBy/PornHubDownloader/" CurrentVersion *ghvu.Version CurrentCodeBase *ghvu.CodeBase )
ldflags
View Source
var FMTVars = []string{
":VIDEO_NAME",
":VIDEO_ID",
":VIDEO_VIEW_KEY",
":UPLOADER_NAME",
":CHANNEL_NAME",
":DATE_UPLOADED",
":DATE_DOWNLOADED",
":TIME_UPLOADED",
":TIME_DOWNLOADED",
":TS_UPLOADED",
":TS_DOWNLOADED",
}
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Cfg *Config BLog *bunnlog.BunnyLog Client *utils.PHUtil DownloadClient *http.Client SessionFile *os.File Stats *download.GlobalDownloadController NameFormatter *stringvarformatter.Formatter }
func (*App) SetupClient ¶
func (*App) SetupHTTPClient ¶
func (*App) SetupLogger ¶
func (*App) VersionRoutine ¶
Click to show internal directories.
Click to hide internal directories.