Versions in this module Expand all Collapse all v0 v0.0.2 Jan 24, 2020 v0.0.1 Jan 24, 2020 Changes in this version + const ID + type Conn struct + func (ic *Conn) LocalPeer() peer.ID + func (ic *Conn) LocalPrivateKey() ci.PrivKey + func (ic *Conn) RemotePeer() peer.ID + func (ic *Conn) RemotePublicKey() ci.PubKey + type Transport struct + func New(id peer.ID) *Transport + func NewWithIdentity(id peer.ID, key ci.PrivKey) *Transport + func (t *Transport) LocalPeer() peer.ID + func (t *Transport) LocalPrivateKey() ci.PrivKey + func (t *Transport) SecureInbound(ctx context.Context, insecure net.Conn) (sec.SecureConn, error) + func (t *Transport) SecureOutbound(ctx context.Context, insecure net.Conn, p peer.ID) (sec.SecureConn, error)