Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Enabled determines if TLS should be used. Defaults to false. Enabled bool // File path to the CA PEM certificate or PEM certificate to be used for TLS // connection. If TLS is enabled and no CA cert file is provided, the system // certificate pool is used as default. CaCertFile string CaCertPEM string // File path to the client PEM certificate or client PEM certificate ClientCertFile string ClientCertPEM string // File path to the client PEM key or client PEM key content ClientKeyFile string ClientKeyPEM string }
func (*Config) IsClientCertProvided ¶
Click to show internal directories.
Click to hide internal directories.