Versions in this module Expand all Collapse all v0 v0.0.1 Jul 6, 2023 Changes in this version + var ErrInvalidNumberOfShards = errors.New("the number of shards must be greater than zero") + var ErrInvalidShardId = errors.New("shard id must be smaller than the total number of shards") + func ComputeShardID(address []byte, numberOfShards uint32) uint32 + func NewMultiShardCoordinator(numberOfShards, selfId uint32) (*multiShardCoordinator, error)