package
0.0.0-20151010030726-2e99afd4fe8e
Repository: https://github.com/siddontang/mixer.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
IsKeyspaceIdTypeInList returns true if the given type is in the list.
KeyRangesIntersect returns true if some Keyspace values exist in both ranges.
KeyRangesOverlap returns the overlap between two KeyRanges.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parse a start and end hex values and build a KeyRange.
ParseShardingSpec parses a string that describes a sharding specification.
ParseShardingSpec parses a string that describes a sharding specification.

# Constants

bytes - a string of bytes is used this is represented as 'varbinary' in mysql.
uint64 - a uint64 value is used this is represented as 'unsigned bigint' in mysql.
unset - no type for this KeyspaceId.
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
MaxKey is bigger than all KeyspaceId (by convention).
MinKey is smaller than all KeyspaceId (the value really is).
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
KeyRange is an interval of KeyspaceId values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

HexKeyspaceId is the hex represention of a KeyspaceId.
No description provided by the author
KeyspaceId is the type we base sharding on.
KeyspaceIdType represents the type of the KeyspaceId.
Uint64Key is a uint64 that can be converted into a KeyspaceId.