Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentTls ErrorParamInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorComponentStart ErrorComponentReload )
View Source
const (
ComponentType = "tls"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶ added in v1.8.10
func RegisterNew ¶
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentTlS ¶
type ComponentTlS interface { libcfg.Component Config() *libtls.Config GetTLS() libtls.TLSConfig SetTLS(tls libtls.TLSConfig) }
func Load ¶
func Load(getCpt libcfg.FuncComponentGet, key string) ComponentTlS
func New ¶
func New() ComponentTlS
Click to show internal directories.
Click to hide internal directories.