common

package
v0.0.0-...-d46a54d Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerTLSConf

type ServerTLSConf struct {
	UseSystemTransport  bool   `mapstructure:"use_system_transport"`
	CAFile              string `mapstructure:"ca_file"`
	CertFile            string `mapstructure:"cert_file"`
	KeyFile             string `mapstructure:"key_file"`
	KeyPassword         string `mapstructure:"key_password"`
	ForceClientCertAuth bool   `mapstructure:"force_client_cert_auth"`
}

ServerTLSConf describes TLS configuration application HTTPS server

type TLSConf

type TLSConf struct {
	UseSystemTransport bool   `mapstructure:"use_system_transport"`
	CAFile             string `mapstructure:"ca_file"`
	CertFile           string `mapstructure:"cert_file"`
	KeyFile            string `mapstructure:"key_file"`
	KeyPassword        string `mapstructure:"key_password"`
}

TLSConf describes TLS configuration for any server.

Jump to

Keyboard shortcuts

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