Documentation ¶
Index ¶
Constants ¶
View Source
const AppName = "t3c-request"
View Source
const UserAgent = AppName + "/" + Version
View Source
const Version = "0.1"
Variables ¶
This section is empty.
Functions ¶
func LoadOldCfg ¶
func LoadOldCfg(path string) (*t3cutil.ConfigData, error)
Types ¶
type Cfg ¶
type Cfg struct { CommandArgs []string LogLocationDebug string LogLocationWarn string LogLocationError string LogLocationInfo string LoginDispersion time.Duration t3cutil.TCCfg }
func InitConfig ¶
InitConfig() intializes the configuration variables and loggers.
func (Cfg) PrintConfig ¶
func (cfg Cfg) PrintConfig()
func (Cfg) WarningLog ¶
func (cfg Cfg) WarningLog() log.LogLocation
Click to show internal directories.
Click to hide internal directories.