Documentation ¶
Index ¶
- Variables
- func ExactMatch(match interface{}, toMatch string) bool
- func GlobMatch(match interface{}, toMatch string) bool
- func JsonMatch(match interface{}, toMatch string) bool
- func JsonPathExecution(matchString, toMatch string) (string, error)
- func JsonPathMatch(match interface{}, toMatch string) bool
- func RegexMatch(match interface{}, toMatch string) bool
- func XmlMatch(match interface{}, toMatch string) bool
- func XpathExecution(matchString, toMatch string) (tree.NodeSet, error)
- func XpathMatch(match interface{}, toMatch string) bool
- type MatcherFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var Exact = "exact"
View Source
var Glob = "glob"
View Source
var Json = "json"
View Source
var JsonPath = "jsonpath"
View Source
var Matchers = map[string]MatcherFunc{ "": ExactMatch, Exact: ExactMatch, Glob: GlobMatch, Json: JsonMatch, JsonPath: JsonPathMatch, Regex: RegexMatch, Xml: XmlMatch, Xpath: XpathMatch, }
View Source
var Regex = "regex"
View Source
var Xml = "xml"
View Source
var Xpath = "xpath"
Functions ¶
func ExactMatch ¶
func JsonPathExecution ¶ added in v0.17.3
func JsonPathMatch ¶
func RegexMatch ¶
func XpathExecution ¶ added in v0.17.3
func XpathMatch ¶
Types ¶
type MatcherFunc ¶
Click to show internal directories.
Click to hide internal directories.