tlsinfo

package
v0.18.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertFilename = "tls.crt"
	KeyFilename  = "tls.key"

	CiphersEnvName       = "TLS_CIPHERS"
	TLSMinVersionEnvName = "TLS_MIN_VERSION"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSInfo

type TLSInfo struct {
	CertsDirectory string
	// contains filtered or unexported fields
}

func (*TLSInfo) Clean

func (ti *TLSInfo) Clean()

func (*TLSInfo) CreateTlsConfig added in v0.16.1

func (ti *TLSInfo) CreateTlsConfig() *tls.Config

func (*TLSInfo) Init

func (ti *TLSInfo) Init()

func (*TLSInfo) InitCerts added in v0.16.1

func (ti *TLSInfo) InitCerts()

func (*TLSInfo) InitCryptoConfig added in v0.16.1

func (ti *TLSInfo) InitCryptoConfig()

func (*TLSInfo) IsEnabled

func (ti *TLSInfo) IsEnabled() bool

Jump to

Keyboard shortcuts

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