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 libctx.FuncContext, cfg libcfg.Config, key string, defCARoot libtls.FctRootCA, isDeftHTTPClient bool, msg htcdns.FuncMessage)
Types ¶
type ComponentHTTPClient ¶
type ComponentHTTPClient 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) ComponentHTTPClient
func New ¶
func New(ctx libctx.FuncContext, defCARoot libtls.FctRootCA, isDeftHTTPClient bool, msg htcdns.FuncMessage) ComponentHTTPClient
Click to show internal directories.
Click to hide internal directories.