Versions in this module Expand all Collapse all v3 v3.3.0 Jul 18, 2024 Changes in this version + func SupportsMap(extractor *Extractor) bool + type Extractor struct + Attribute string + CaseInsensitive bool + DSL []string + Internal bool + JSON []string + KVal []string + Name string + Part string + Regex []string + RegexGroup int + Type ExtractorTypeHolder + XPath []string + func (e *Extractor) CompileExtractors() error + func (e *Extractor) ExtractDSL(data map[string]interface{}) map[string]struct{} + func (e *Extractor) ExtractHTML(corpus string) map[string]struct{} + func (e *Extractor) ExtractJSON(corpus string) map[string]struct{} + func (e *Extractor) ExtractKval(data map[string]interface{}) map[string]struct{} + func (e *Extractor) ExtractRegex(corpus string) map[string]struct{} + func (e *Extractor) ExtractXML(corpus string) map[string]struct{} + func (e *Extractor) ExtractXPath(corpus string) map[string]struct{} + func (e *Extractor) GetType() ExtractorType + type ExtractorType int + const DSLExtractor + const JSONExtractor + const KValExtractor + const RegexExtractor + const XPathExtractor + func GetSupportedExtractorTypes() []ExtractorType + func (t ExtractorType) String() string + type ExtractorTypeHolder struct + ExtractorType ExtractorType + func (holder *ExtractorTypeHolder) MarshalJSON() ([]byte, error) + func (holder *ExtractorTypeHolder) UnmarshalJSON(data []byte) error + func (holder *ExtractorTypeHolder) UnmarshalYAML(unmarshal func(interface{}) error) error + func (holder ExtractorTypeHolder) JSONSchema() *jsonschema.Schema + func (holder ExtractorTypeHolder) MarshalYAML() (interface{}, error)