ma "github.com/multiformats/go-multiaddr"
manet "github.com/multiformats/go-multiaddr-net"
tar "github.com/whyrusleeping/tar-utils"
-
- p2pmetrics "github.com/libp2p/go-libp2p-metrics"
)
const (
// ObjectStat gets stats for the DAG object named by key. It returns
// the stats of the requested Object or an error.
+/*
func (s *Shell) StatsBW(ctx context.Context) (*p2pmetrics.Stats, error) {
v := &p2pmetrics.Stats{}
err := s.Request("stats/bw").Exec(ctx, &v)
return v, err
}
+*/
type SwarmStreamInfo struct {
Protocol string