tls

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSConfig

type TLSConfig struct {
	CertPath         string
	KeyPath          string
	RootCertPath     string
	CAPath           string
	Cipher           string
	VerifyServerCert bool
}

func NewTLSConfig

func NewTLSConfig(certPath, keyPath, rootCertPath, caPath, cipher string, verifyServerCert bool) *TLSConfig

func (*TLSConfig) BuildTLSConfig

func (c *TLSConfig) BuildTLSConfig() (*tls.Config, error)

Jump to

Keyboard shortcuts

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