Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamsEmpty liberr.CodeError = iota + libcfg.MinErrorComponentTls ErrorParamsInvalid ErrorConfigInvalid ErrorComponentNotInitialized ErrorStartTLS ErrorReloadTLS )
View Source
const (
ComponentType = "tls"
)
Variables ¶
This section is empty.
Functions ¶
func IsCodeError ¶
func IsCodeError() bool
func RegisterNew ¶
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentTlS ¶
type ComponentTlS interface { libcfg.Component GetTLS() libtls.TLSConfig SetTLS(tls libtls.TLSConfig) }
func Load ¶
func Load(getCpt libcfg.FuncComponentGet, key string) ComponentTlS
func New ¶
func New() ComponentTlS
type DefaultModel ¶
Click to show internal directories.
Click to hide internal directories.