Documentation ¶
Index ¶
Constants ¶
View Source
const All = "all"
All will be used by everybody
Variables ¶
View Source
var AllFilterable = Filterable{Filter: All}
AllFilterable will be used by everybody
View Source
var EmptyFilterable = Filterable{Filter: ""}
EmptyFilterable is the default value
Functions ¶
This section is empty.
Types ¶
type Filterable ¶
type Filterable struct {
Filter string
}
Filterable allows to sort the data
func (Filterable) TestTargetFilter ¶
func (f Filterable) TestTargetFilter(toTest string) bool
TestTargetFilter tests if the given filter matches with the containing filter
func (Filterable) TestTargetFilterObj ¶
func (f Filterable) TestTargetFilterObj(filter Filterable) bool
TestTargetFilterObj like TestTargetFilter just with two objects
type Printable ¶
type Printable interface { PrintForInfluxDB(version string) string PrintForElasticsearch(version, index string) string TestTargetFilter(string) bool }
Printable this interface should be used to push data into the queue.
type ResultQueues ¶
type SimplePrintable ¶
type SimplePrintable struct { Filterable Text string Datatype data.Datatype }
SimplePrintable can be used to send strings as printable
func (SimplePrintable) PrintForElasticsearch ¶
func (p SimplePrintable) PrintForElasticsearch(version, index string) string
PrintForElasticsearch generates an String for Elasticsearch
func (SimplePrintable) PrintForInfluxDB ¶
func (p SimplePrintable) PrintForInfluxDB(version string) string
PrintForInfluxDB generates an String for InfluxDB
Click to show internal directories.
Click to hide internal directories.