tlsconfig

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTLSConfig

func GetTLSConfig(config *TLSCertConfig) (*tls.Config, error)

Types

type TLSCertConfig

type TLSCertConfig struct {
	ClientKeyFile      string `json:"clientKeyFile"`
	ClientCertFile     string `json:"clientCertFile"`
	CACertFile         string `json:"caCertFile"`
	InsecureSkipVerify bool   `json:"insecureSkipVerify"`
}

Jump to

Keyboard shortcuts

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