loadcert

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCertsPath = "./cert"
)

Variables

This section is empty.

Functions

func GetCertPath added in v0.4.2

func GetCertPath() string

func GetCertPool

func GetCertPool(opts ...LoadOption) (*x509.CertPool, error)

Types

type LoadOption

type LoadOption func(*LoadOptions)

func CertPath

func CertPath(path string) LoadOption

type LoadOptions

type LoadOptions struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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