Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTLSConfig = createTLSConfig
Functions ¶
This section is empty.
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport is the network layer for inter-node communications.
func NewTLSTransport ¶
NewTLSTransport returns an initialized TLS-encrypted Transport.
func NewTransport ¶
func NewTransport() *Transport
NewTransport returns an initialized unencrypted Transport.
func NewTransportFromListener ¶
func NewTransportFromListener(ln net.Listener, remoteEncrypted bool, skipVerify bool, addr string) *Transport
NewTransportFromListener returns an initialized Transport
Click to show internal directories.
Click to hide internal directories.