Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultNamespace = "global"
DefaultNamespace is the namespace all the store and region belong to by default.
Variables ¶
View Source
var DefaultClassifier = defaultClassifier{}
DefaultClassifier is a classifier that classifies all regions and stores to DefaultNamespace.
Functions ¶
This section is empty.
Types ¶
type Classifier ¶
type Classifier interface { GetAllNamespaces() []string GetStoreNamespace(*core.StoreInfo) string GetRegionNamespace(*core.RegionInfo) string }
Classifier is used to determine the namespace which the store or region belongs.
Click to show internal directories.
Click to hide internal directories.