ssl

package
v0.0.0-...-9f3b5b4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2026 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, bool, 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"`
	StartTLS       bool   `json:"starttls"`
}

Source Files

  • ssl.go

Jump to

Keyboard shortcuts

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