Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RELAY = getEnv("RELAY", "https://example.com")
Functions ¶
func AddrInfo ¶
automatically add /p2p/<peerID> to the multiaddr if it is missing this is a workaround for the issue that AddrInfoFromP2pAddr does not work without /p2p/<peerID> https://github.com/libp2p/go-libp2p/issues/1040
func AsErrPeerIDMismatch ¶
func AsErrPeerIDMismatch(err error) *sec.ErrPeerIDMismatch
Types ¶
type ConnStats ¶
type ConnStats struct {
Stats
RemotePeer peer.ID `json:"remotePeer"`
NumStreams int `json:"numStreams"`
ConnState network.ConnectionState `json:"connState"`
Streams []StreamStats `json:"streams"`
}
type Constella ¶
func (*Constella) Connectedness ¶
Click to show internal directories.
Click to hide internal directories.