Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSharder ¶
func NewSharder(arg ArgsSharderFactory) (p2p.Sharder, error)
NewSharder creates new Sharder instances
Types ¶
type ArgsSharderFactory ¶
type ArgsSharderFactory struct { PeerShardResolver p2p.PeerShardResolver Pid peer.ID P2pConfig config.P2PConfig PreferredPeersHolder p2p.PreferredPeersHolderHandler NodeOperationMode p2p.NodeOperation }
ArgsSharderFactory represents the argument for the sharder factory
Click to show internal directories.
Click to hide internal directories.