Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Registry = make(map[string]provider)
Global classifier registry
Functions ¶
Types ¶
type Classifier ¶
type Classifier struct {
// Classifier key
Key string `json:"key"`
// Classifier value
Value string `json:"value"`
}
func Get ¶
func Get(key string) (*Classifier, error)
Evaluates a classifier provider and returns the classifier value
Click to show internal directories.
Click to hide internal directories.