conftls

package
v0.2.22 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTLSConfig = &tls.Config{
	ClientAuth:         tls.NoClientCert,
	ClientCAs:          nil,
	InsecureSkipVerify: true,
}

Functions

This section is empty.

Types

type X509KeyPair

type X509KeyPair struct {
	// Key x509 private key file path or PEM decoded string
	Key string
	// Crt x509 public key file path or PEM decoded string
	Crt string
	// CA certification
	CA string
	// contains filtered or unexported fields
}

func (*X509KeyPair) Config

func (c *X509KeyPair) Config() *tls.Config

func (*X509KeyPair) Init

func (c *X509KeyPair) Init() error

func (*X509KeyPair) IsZero

func (c *X509KeyPair) IsZero() bool

Jump to

Keyboard shortcuts

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