Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Match ¶
func NewNotMatch ¶
type MultiQueries ¶
type MultiQueries = []SingleQuery
MultiQueries is an union group of singleQueries (OR'ed)
func Parse ¶
func Parse(raw string) (MultiQueries, error)
Example of raw filters (url-encoded): foo=a,b&bar=c|baz=d Produces: [ [ ["foo", "a,b"], ["bar", "c"]], [["baz", "d"]]] ^ ^ ^ | | '--- Per-label OR: "foo" must have value "a" OR "b" | '----- In-group AND: "foo" must be "a" or "b" AND "bar" must be "c" '------- All groups OR: "foo" must be "a" or "b" AND "bar" must be "c", OR "baz" must be "d"
Click to show internal directories.
Click to hide internal directories.