tls

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultSSLConfig

func GetDefaultSSLConfig() *secCommon.SSLConfig

GetDefaultSSLConfig get default ssl configurations

func GetSSLConfigByService

func GetSSLConfigByService(svcName, protocol, svcType string) (*secCommon.SSLConfig, error)

GetSSLConfigByService get ssl configurations based on service

func GetTLSConfig added in v0.7.1

func GetTLSConfig(scheme, t string) (*tls.Config, error)

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

func IsSSLConfigNotExist(e error) bool

IsSSLConfigNotExist check the status of ssl configurations

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL