namespace

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL