Documentation ¶
Index ¶
Constants ¶
View Source
const AppName = "t3c-generate"
View Source
const ExitCodeBadRequest = 100
View Source
const ExitCodeErrGeneric = 1
View Source
const ExitCodeNotFound = 104
View Source
const ExitCodeSuccess = 0
Variables ¶
View Source
var ErrBadRequest = errors.New("bad request")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func ValidateURL ¶
Types ¶
type Cfg ¶
type Cfg struct { ListPlugins bool LogLocationErr string LogLocationInfo string LogLocationDebug string LogLocationWarn string RevalOnly bool Dir string UseStrategies t3cutil.UseStrategiesFlag GoDirect string ViaRelease bool SetDNSLocalBind bool NoOutgoingIP bool ATSMajorVersion uint ParentComments bool DefaultEnableH2 bool DefaultTLSVersions []atscfg.TLSVersion Version string GitRevision string Cache string }
func (Cfg) AppVersion ¶
func (Cfg) WarningLog ¶
func (cfg Cfg) WarningLog() log.LogLocation
Click to show internal directories.
Click to hide internal directories.