Versions in this module Expand all Collapse all v0 v0.0.0 May 26, 2024 Changes in this version + var RELAY = getEnv("RELAY", "https://example.com") + func AddrInfo(addr ma.Multiaddr) (*peer.AddrInfo, error) + func AsErrPeerIDMismatch(err error) *sec.ErrPeerIDMismatch + func RandID() peer.ID + func Run(args []string) error + type ConnStats struct + ConnState network.ConnectionState + NumStreams int + RemotePeer peer.ID + Streams []StreamStats + type Constella struct + func New() *Constella + func (c *Constella) Connectedness() map[string]string + func (c *Constella) Conns() map[string]ConnStats + func (c *Constella) Info() Info + func (c *Constella) ServeHTTP(w http.ResponseWriter, r *http.Request) + type Info struct + AddrInfos []peer.AddrInfo + Addrs []ma.Multiaddr + Connectedness map[string]string + Conns map[string]ConnStats + ID peer.ID + Peers []peer.ID + Protocols []protocol.ID + type Stats struct + Direction string + Limited bool + Opened time.Time + type StreamStats struct + ID string + Protocol protocol.ID