Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentRequest ErrorParamInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorDependencyTLSDefault ErrorComponentStart ErrorComponentReload )
View Source
const (
ComponentType = "request"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func RegisterNew ¶
func RegisterNew(ctx libctx.FuncContext, cfg libcfg.Config, key, tls string)
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentRequest ¶
type ComponentRequest interface { cfgtps.Component SetDefaultTLS(key string) Request() (libreq.Request, error) }
func Load ¶
func Load(getCpt cfgtps.FuncCptGet, key string) ComponentRequest
func New ¶
func New(ctx libctx.FuncContext, tls string) ComponentRequest
Click to show internal directories.
Click to hide internal directories.