Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamsEmpty liberr.CodeError = iota + libcfg.MinErrorComponentHttp ErrorParamsInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorReloadPoolServer ErrorReloadTLSDefault )
View Source
const (
ComponentType = "head"
)
Variables ¶
This section is empty.
Functions ¶
func IsCodeError ¶
func IsCodeError() bool
func RegisterNew ¶
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentHead ¶
type ComponentHead interface { libcfg.Component GetHeaders() librtr.Headers SetHeaders(head librtr.Headers) }
func Load ¶
func Load(getCpt libcfg.FuncComponentGet, key string) ComponentHead
func New ¶
func New() ComponentHead
type DefaultModel ¶
type DefaultModel struct { Head librtr.HeadersConfig Http libhts.PoolServerConfig }
Click to show internal directories.
Click to hide internal directories.