Versions in this module Expand all Collapse all v0 v0.0.1 Mar 23, 2015 Changes in this version + func NewKeepAliveListener(addr string, scheme string, info TLSInfo) (net.Listener, error) + func NewListener(addr string, scheme string, info TLSInfo) (net.Listener, error) + func NewTimeoutListener(addr string, scheme string, info TLSInfo, rdtimeoutd, wtimeoutd time.Duration) (net.Listener, error) + func NewTimeoutTransport(info TLSInfo, dialtimeoutd, rdtimeoutd, wtimeoutd time.Duration) (*http.Transport, error) + func NewTransport(info TLSInfo) (*http.Transport, error) + type TLSInfo struct + CAFile string + CertFile string + ClientCertAuth bool + KeyFile string + TrustedCAFile string + func (info TLSInfo) ClientConfig() (*tls.Config, error) + func (info TLSInfo) Empty() bool + func (info TLSInfo) ServerConfig() (*tls.Config, error) + func (info TLSInfo) String() string