internal

package
v0.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(elem string, list []string) bool

func GetFilePath

func GetFilePath(p, base string) string

Returns either the unmodified absolute path or the absolute path retrieved from a path relative to a base path

func LoadCert

func LoadCert(data []byte) (*x509.Certificate, error)

LoadCert loads a certificate from PEM encoded data

func LoadCerts

func LoadCerts(data []byte) ([]*x509.Certificate, error)

LoadCerts loads one or more certificates from PEM encoded data

func PrintTlsConfig

func PrintTlsConfig(conf *tls.Config, roots []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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