Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentHttpCli ErrorParamInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorComponentStart ErrorComponentReload )
View Source
const (
ComponentType = "tls"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func RegisterNew ¶
Types ¶
type ComponentHTTPClient ¶
type ComponentHTTPClient interface {
cfgtps.Component
htcdns.DNSMapper
Config() htcdns.Config
SetDefault()
SetAsDefaultHTTPClient(flag bool)
}
func Load ¶
func Load(getCpt cfgtps.FuncCptGet, key string) ComponentHTTPClient
func New ¶
func New(ctx libctx.FuncContext, defCARoot libtls.FctRootCA, isDeftHTTPClient bool) ComponentHTTPClient
Click to show internal directories.
Click to hide internal directories.