Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewListsSharder ¶
func NewListsSharder(arg ArgListsSharder) (*listsSharder, error)
NewListsSharder creates a new kad list based kad sharder instance
func NewNilListSharder ¶
func NewNilListSharder() *nilListSharder
NewNilListSharder returns a disabled sharder implementation
Types ¶
type ArgListsSharder ¶ added in v1.2.0
type ArgListsSharder struct { PeerResolver p2p.PeerShardResolver SelfPeerId peer.ID P2pConfig config.P2PConfig PreferredPeersHolder p2p.PreferredPeersHolderHandler NodeOperationMode p2p.NodeOperation }
ArgListsSharder represents the argument structure used in the initialization of a listsSharder implementation
Click to show internal directories.
Click to hide internal directories.