Versions in this module Expand all Collapse all v0 v0.10.0 Jul 10, 2020 Changes in this version + type Address = refs.Address + type CharybdisParams struct + Addr Address + ChildLister ChildLister + ReadySelection []RangeDescriptor + type ChildLister interface + List func(ctx context.Context, parent Address) ([]RangeDescriptor, error) + type ChopperParams struct + Addr Address + RelativeReceiver RelativeReceiver + type ChopperTable interface + GetChopper func(addr Address, rc RCType) (RangeChopper, error) + PutChopper func(addr Address, chopper RangeChopper) error + func NewChopperTable() ChopperTable + type RCType int + const RCCharybdis + const RCScylla + type RangeChopper interface + Chop func(ctx context.Context, length, offset int64, fromStart bool) ([]RangeDescriptor, error) + Closed func() bool + GetAddress func() Address + GetType func() RCType + func NewCharybdis(p *CharybdisParams) (RangeChopper, error) + func NewScylla(p *ChopperParams) (RangeChopper, error) + type RangeDescriptor struct + Addr Address + LeftBound bool + Offset int64 + RightBound bool + Size int64 + type RelativeReceiver interface + Base func(ctx context.Context, addr Address) (RangeDescriptor, error) + Neighbor func(ctx context.Context, addr Address, left bool) (RangeDescriptor, error)