Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDASQuerySpecs ¶
ValidateDASQuerySpecs validates given das query against patterns
Types ¶
type DASQuery ¶
type DASQuery struct { Query string `json:"query"` Qhash string `json:"hash"` Spec bson.M `json:"spec"` Fields []string `json:"fields"` Pipe string `json:"pipe"` Instance string `json:"instance"` Detail bool `json:"detail"` System string `json:"system"` Filters map[string][]string `json:"filters"` Aggregators [][]string `json:"aggregators"` Error string `json:"error"` Time int64 `json:"tstamp"` // contains filtered or unexported fields }
DASQuery provides basic structure to hold DAS query record
func (DASQuery) String ¶
String method implements own formatter using DASQuery rather then *DASQuery, since former will be invoked on both pointer and values and therefore used by fmt/log http://stackoverflow.com/questions/16976523/in-go-why-isnt-my-stringer-interface-method-getting-invoked-when-using-fmt-pr
Click to show internal directories.
Click to hide internal directories.