Documentation ¶
Index ¶
Constants ¶
View Source
const ID = "/cmtls/1.0.0"
ID is the protocol ID (used when negotiating with multistream)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
Transport constructs secure communication sessions for a peer.
func (*Transport) SecureInbound ¶
SecureInbound runs the TLS handshake as a server.
Click to show internal directories.
Click to hide internal directories.