tls

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTLSCredentials

func LoadTLSCredentials(certPaths []string) (*tls.Config, error)

LoadTLSCredentials returns a new tls.Config with the credentials loaded from the given paths.

func LoadTLSCredentialsRaw

func LoadTLSCredentialsRaw(certs [][]byte) (*tls.Config, error)

LoadTLSCredentialsRaw returns a new tls.Config with the credentials from the given bytes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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