rings: DecodeAddress() [WIP]
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
@@ -8,7 +8,21 @@ import (
|
||||
"darvaza.org/core"
|
||||
)
|
||||
|
||||
// RingID ... TODO
|
||||
type RingID int
|
||||
|
||||
const (
|
||||
// InvalidRing ... TODO
|
||||
InvalidRing RingID = iota - 1
|
||||
// RingZero ... TODO
|
||||
RingZero
|
||||
// RingOne ... TODO
|
||||
RingOne
|
||||
// RingTwo ... TODO
|
||||
RingTwo
|
||||
// RingThree ... TODO
|
||||
RingThree
|
||||
|
||||
// RegionMax indicates the highest number that can be used for a [RegionID].
|
||||
RegionMax = (1 << 4) - 1
|
||||
// ZoneMax indicates the highest number that can be used for a [ZoneID].
|
||||
|
||||
Reference in New Issue
Block a user