Documentation ¶
Index ¶
- func GetDefaultSSLConfig() *secCommon.SSLConfig
- func GetSSLConfigByService(svcName, protocol, svcType string) (*secCommon.SSLConfig, error)
- func GetTLSConfig(scheme, t string) (*tls.Config, error)
- func GetTLSConfigByService(svcName, protocol, svcType string) (*tls.Config, *secCommon.SSLConfig, error)
- func IsSSLConfigNotExist(e error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaultSSLConfig ¶
GetDefaultSSLConfig get default ssl configurations
func GetSSLConfigByService ¶
GetSSLConfigByService get ssl configurations based on service
func GetTLSConfig ¶ added in v0.7.1
GetTLSConfig returns tls config from scheme and type
func GetTLSConfigByService ¶
func GetTLSConfigByService(svcName, protocol, svcType string) (*tls.Config, *secCommon.SSLConfig, error)
GetTLSConfigByService get tls configurations based on service
func IsSSLConfigNotExist ¶
IsSSLConfigNotExist check the status of ssl configurations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.