Versions in this module Expand all Collapse all v0 v0.10.0 Jul 10, 2020 Changes in this version + const NodesBucket + const Separator + var FilterAND = netmap.FilterAND + var FilterEQ = netmap.FilterEQ + var FilterGE = netmap.FilterGE + var FilterGT = netmap.FilterGT + var FilterIn = netmap.FilterIn + var FilterLE = netmap.FilterLE + var FilterLT = netmap.FilterLT + var FilterNE = netmap.FilterNE + var FilterNotIn = netmap.FilterNotIn + var FilterOR = netmap.FilterOR + type Bucket = netmap.Bucket + type Filter = netmap.Filter + type GetParams struct + type GetResult struct + func (s *GetResult) SetNetMap(v *NetMap) + func (s GetResult) NetMap() *NetMap + type NetMap struct + func NewNetmap() *NetMap + func (n *NetMap) Add(addr string, pk []byte, st bootstrap.NodeStatus, opts ...string) error + func (n *NetMap) AddNode(nodeInfo *bootstrap.NodeInfo, opts ...string) error + func (n *NetMap) Copy() *NetMap + func (n *NetMap) Equals(nm *NetMap) bool + func (n *NetMap) FindGraph(pivot []byte, ss ...SFGroup) (c *Bucket) + func (n *NetMap) FindNodes(pivot []byte, ss ...SFGroup) (nodes []uint32) + func (n *NetMap) GetMaxSelection(ss []Select, fs []Filter) (r *Bucket) + func (n *NetMap) GetNodesByOption(opts ...string) []bootstrap.NodeInfo + func (n *NetMap) Hash() (sum [32]byte) + func (n *NetMap) InheritWeights() *NetMap + func (n *NetMap) Items() []bootstrap.NodeInfo + func (n *NetMap) ItemsCopy() Nodes + func (n *NetMap) MarshalJSON() ([]byte, error) + func (n *NetMap) Merge(n1 *NetMap) error + func (n *NetMap) Normalise() *NetMap + func (n *NetMap) Root() *Bucket + func (n *NetMap) Size() int + func (n *NetMap) UnmarshalJSON(data []byte) error + func (n *NetMap) Update(nxt *NetMap) + type Nodes []bootstrap.NodeInfo + func (n Nodes) Copy() Nodes + type PlacementRule = netmap.PlacementRule + type SFGroup = netmap.SFGroup + type Select = netmap.Select + type SimpleFilter = netmap.SimpleFilter + type Storage interface + GetNetMap func(GetParams) (*GetResult, error)