The highest tagged major version is
v4.
package
Version:
v0.26.2
Opens a new window with list of versions in this module.
Published: Aug 27, 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.