Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultVirtualPerPhysical = 128 DefaultKey = "_id" DefaultStrategy = "hash" DefaultFunction = "murmur3" )
Variables ¶
This section is empty.
Functions ¶
func ValidateConfigUpdate ¶
Types ¶
type Config ¶
type Config struct { VirtualPerPhysical int `json:"virtualPerPhysical"` DesiredCount int `json:"desiredCount"` ActualCount int `json:"actualCount"` DesiredVirtualCount int `json:"desiredVirtualCount"` ActualVirtualCount int `json:"actualVirtualCount"` Key string `json:"key"` Strategy string `json:"strategy"` Function string `json:"function"` }
func ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.