Versions in this module Expand all Collapse all v0 v0.7.1 Dec 20, 2017 Changes in this version + func WrapTLSClient(conn net.Conn, tlsConfig *tls.Config) (net.Conn, error) + type Config struct + CAFile string + CertFile string + KeyFile string + KeyLoader *config.KeyLoader + VerifyIncoming bool + VerifyOutgoing bool + VerifyServerHostname bool + func (c *Config) AppendCA(pool *x509.CertPool) error + func (c *Config) IncomingTLSConfig() (*tls.Config, error) + func (c *Config) LoadKeyPair() (*tls.Certificate, error) + func (c *Config) OutgoingTLSConfig() (*tls.Config, error) + func (c *Config) OutgoingTLSWrapper() (RegionWrapper, error) + type RegionWrapper func(region string, conn net.Conn) (net.Conn, error) + type Wrapper func(conn net.Conn) (net.Conn, error) + func RegionSpecificWrapper(region string, tlsWrap RegionWrapper) Wrapper