package
Version:
v0.23.5
Opens a new window with list of versions in this module.
Published: Aug 9, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package tls provides Benthos configuration fields and wrappers for a
crypto/tls config.
type Config struct {
Enabled bool `json:"enabled" yaml:"enabled"`
RootCAsFile string `json:"cas_file" yaml:"cas_file"`
InsecureSkipVerify bool `json:"skip_cert_verify" yaml:"skip_cert_verify"`
}
Config contains configuration params for TLS.
NewConfig creates a new Config with default values.
Get returns a valid *tls.Config based on the configuration values of Config.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.