ssl

package
v0.0.0-...-6503209 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseSSLOptions

func ParseSSLOptions(opts *SSLOptions) (*tls.Config, error)

Types

type SSLOptions

type SSLOptions struct {
	CAFile         string `json:"ca"`
	CertFile       string `json:"cert"`
	KeyFile        string `json:"key"`
	SkipValidation bool   `json:"skip_validation"`
	ServerName     string `json:"server_name"`
}

Jump to

Keyboard shortcuts

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