Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentHead ErrorParamInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorReloadPoolServer ErrorReloadTLSDefault )
View Source
const (
ComponentType = "head"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶ added in v1.8.10
func RegisterNew ¶
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentHead ¶
type ComponentHead interface { cfgtps.Component GetHeaders() librtr.Headers SetHeaders(head librtr.Headers) }
func Load ¶
func Load(getCpt cfgtps.FuncCptGet, key string) ComponentHead
func New ¶
func New() ComponentHead
Click to show internal directories.
Click to hide internal directories.