security

package
v1.140.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientTLSConfig added in v1.116.2

func NewClientTLSConfig(sec Config) (*tls.Config, error)

NewClientTLSConfig for security.

func NewTLSConfig added in v1.116.2

func NewTLSConfig(sec Config) (*tls.Config, error)

NewTLSConfig for security.

Types

type Config

type Config struct {
	Enabled  bool   `yaml:"enabled,omitempty" json:"enabled,omitempty" toml:"enabled,omitempty"`
	CertFile string `yaml:"cert_file,omitempty" json:"cert_file,omitempty" toml:"cert_file,omitempty"`
	KeyFile  string `yaml:"key_file,omitempty" json:"key_file,omitempty" toml:"key_file,omitempty"`
}

Config for security.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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