package transport
import "github.com/coreos/etcd/pkg/transport"
Index ¶
- func NewListener(addr string, info TLSInfo) (net.Listener, error)
- func NewTransport(info TLSInfo) (*http.Transport, error)
- type TLSInfo
Functions ¶
func NewListener ¶
func NewTransport ¶
Types ¶
type TLSInfo ¶
type TLSInfo struct { CertFile string KeyFile string CAFile string // contains filtered or unexported fields }
func (TLSInfo) ClientConfig ¶
ClientConfig generates a tls.Config object for use by an HTTP client
func (TLSInfo) Empty ¶
func (TLSInfo) ServerConfig ¶
ServerConfig generates a tls.Config object for use by an HTTP server
Source Files ¶
- Version
- v0.5.0-alpha.2
- Published
- Nov 8, 2014
- Platform
- windows/amd64
- Imports
- 8 packages
- Last checked
- 4 minutes ago –
Tools for package owners.