tls

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLS

type TLS struct {
	// the CA file
	CA string
	// the cert file
	Cert string
	// the key file
	Key string

	// whether to skip the TLS verification
	Insecure bool
}

TLS is the configuration for TLS files

func (*TLS) Config

func (t *TLS) Config() (*tls.Config, error)

Config return a tls.Config object

Jump to

Keyboard shortcuts

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