tlsinfo

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertFilename       = "tls.crt"
	KeyFilename        = "tls.key"
	TLSOptionsFilename = "tls-config.json"

	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
	TLSOptionsDirectory 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, error)

func (*TLSInfo) Init

func (ti *TLSInfo) Init() error

Jump to

Keyboard shortcuts

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