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 ¶
func RegisterNew(ctx context.Context, cfg libcfg.Config, key string, defCARoot libtls.FctRootCACert, isDeftHTTPClient bool, msg htcdns.FuncMessage)
Types ¶
type CptHTTPClient ¶ added in v1.19.0
type CptHTTPClient interface {
cfgtps.Component
htcdns.DNSMapper
Config() htcdns.Config
SetDefault()
SetAsDefaultHTTPClient(flag bool)
SetFuncMessage(f htcdns.FuncMessage)
}
func Load ¶
func Load(getCpt cfgtps.FuncCptGet, key string) CptHTTPClient
func New ¶
func New(ctx context.Context, defCARoot libtls.FctRootCACert, isDeftHTTPClient bool, msg htcdns.FuncMessage) CptHTTPClient
Click to show internal directories.
Click to hide internal directories.