Documentation
¶
Index ¶
Constants ¶
View Source
const ( String ParameterType = "string" Double ParameterType = "double" Boolean ParameterType = "boolean" Program PatternType = "program" Constraint PatternType = "constraint" JS ScriptLanguageType = "js" Lua ScriptLanguageType = "lua" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseInfo ¶
type BaseInfo struct { ID string `xml:"id"` ShortName string `xml:"shortName"` Description Description `xml:"description"` CreatedDate int64 `xml:"createdDate"` ModifiedDate int64 `xml:"modifiedDate"` }
type Description ¶
type Description struct {
Text string `xml:",cdata"`
}
type KnowledgeBase ¶
type KnowledgeBase struct { BaseInfo XMLName xml.Name `xml:"knowledgeBase"` FormatXMLVersion string `xml:"formatXmlVersion,attr"` Parameters struct { Parameters []Parameter `xml:"parameter"` } `xml:"parameters"` Patterns struct { Patterns []Pattern `xml:"pattern"` } `xml:"patterns"` Rules struct { Rules []Rule `xml:"rule"` } `xml:"rules"` Groups struct { Groups []Group `xml:"group"` } `xml:"groups"` }
type ParameterPattern ¶
type ParameterRule ¶
type ParameterType ¶
type ParameterType string
type Pattern ¶
type Pattern struct { BaseInfo Type string `xml:"type"` Language string `xml:"language"` Script Script `xml:"script"` InputParameters struct { InputParameters []ParameterPattern `xml:"parameter"` } `xml:"inputParameters"` OutputParameters struct { OutputParameters []ParameterPattern `xml:"parameter"` } `xml:"outputParameters"` }
type PatternType ¶
type PatternType string
type Rule ¶
type Rule struct { BaseInfo PatternID string `xml:"patternID"` InputParameters struct { InputParameters []ParameterRule `xml:"parameter"` } `xml:"inputParameters"` OutputParameters struct { OutputParameters []ParameterRule `xml:"parameter"` } `xml:"outputParameters"` }
type ScriptLanguageType ¶
type ScriptLanguageType string
Click to show internal directories.
Click to hide internal directories.