Versions in this module Expand all Collapse all v0 v0.5.0 Feb 19, 2015 Changes in this version + func WrapTLSClient(conn net.Conn, tlsConfig *tls.Config) (net.Conn, error) + type Config struct + CAFile string + CertFile string + KeyFile string + NodeName string + ServerName string + VerifyIncoming bool + VerifyOutgoing bool + func (c *Config) AppendCA(pool *x509.CertPool) error + func (c *Config) IncomingTLSConfig() (*tls.Config, error) + func (c *Config) KeyPair() (*tls.Certificate, error) + func (c *Config) OutgoingTLSConfig() (*tls.Config, error)