Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hydra ¶
Hydra is a container for heads and their shared belly bits.
func (*Hydra) GetRoutingTableSize ¶
func (*Hydra) GetUniquePeersCount ¶
GetUniquePeersCount retrieves the current total for unique peers
type Options ¶
type Options struct { Name string DatastorePath string PeerstorePath string ProviderStore string DelegateTimeout time.Duration ReframeAddr string GetPort func() int NHeads int ProtocolPrefix protocol.ID BucketSize int BsCon int EnableRelay bool Stagger time.Duration IDGenerator idgen.IdentityGenerator DisableProvGC bool DisableProviders bool DisableValues bool BootstrapPeers []multiaddr.Multiaddr DisablePrefetch bool DisableProvCounts bool DisableDBCreate bool }
Options are configuration for a new hydra.
Click to show internal directories.
Click to hide internal directories.