Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLS ¶
type TLS struct {
// IsEnabled is the flag to enable/disable TLS
IsEnabled bool `yaml:"enabled" json:"enabled,omitempty" mapstructure:"enabled"`
// RootCertificatePath is the path to the root certificate
RootCertificatePath string `yaml:"rootCaPath" json:"rootCaPath,omitempty" mapstructure:"rootCaPath"`
// CertificatePath is the path to the certificate
CertificatePath string `yaml:"certPath" json:"certPath,omitempty" mapstructure:"certPath"`
// PrivateKeyPath is the path to the private key
PrivateKeyPath string `yaml:"keyPath" json:"keyPath,omitempty" mapstructure:"keyPath"`
}
TLS configuration with the option to enable/disable and with paths to the certificates
Click to show internal directories.
Click to hide internal directories.