tls

package
v0.4.15 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 Config

type Config struct {
	Insecure     *bool  `yaml:"insecure" json:"insecure"`
	CertFilePath string `yaml:"certFilePath" json:"certFilePath"`
}

func (*Config) SetupGenericTLSConfigFromFile added in v0.2.9

func (c *Config) SetupGenericTLSConfigFromFile() (*x509.CertPool, error)

SetupGenericTLSConfigFromFile returns a x509 system certificate pool containing the specified certificate file

Jump to

Keyboard shortcuts

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