Documentation
¶
Index ¶
Constants ¶
View Source
const EntryIDHexStringLen = TreeIDHexStringLen + UUIDHexStringLen
View Source
const TreeIDHexStringLen = 16
View Source
const UUIDHexStringLen = 64
Variables ¶
This section is empty.
Functions ¶
func GetUUIDFromIDString ¶
Returns UUID (with no prepended TreeID) from a UUID or EntryID string
func PadToTreeIDLen ¶
Types ¶
type EntryID ¶
func CreateEntryIDFromParts ¶
This function can take a TreeID of equal or greater length than TreeIDHexStringLen. In case the TreeID length is less than TreeIDHexStringLen, it will be padded to the correct length.
func (EntryID) ReturnEntryIDString ¶
type LogRanges ¶
type LogRanges struct {
Ranges []LogRange
}
func (*LogRanges) ActiveIndex ¶
ActiveIndex returns the active shard index, always the last shard in the range
Click to show internal directories.
Click to hide internal directories.