Documentation
¶
Index ¶
Constants ¶
View Source
const (
FloodSubID = protocol.ID("/dropfloodsub/1.0.0")
)
Variables ¶
View Source
var LibP2P = fx.Options( fx.Provide(BandwidthReporter), LibP2PDefaultOpts, FloodSub(), fx.Provide(NewHost), )
Functions ¶
func ErrorOptOut ¶
Types ¶
type BwOut ¶
type BwOut struct { fx.Out Opts libp2p.Option `group:"libp2p_opts"` Reporter *metrics.BandwidthCounter }
func BandwidthReporter ¶
func BandwidthReporter() BwOut
type Libp2pOptsIn ¶
type Libp2pOptsOut ¶
Click to show internal directories.
Click to hide internal directories.