Documentation ¶
Index ¶
- type Button
- type Error
- type GoodByeScene
- type Matcher
- func (m *Matcher) GetRegexMatcher() (*RegexMatcher, error)
- func (m *Matcher) GetSelectsMatcher() (*SelectMatcher, error)
- func (m *Matcher) GetStandardMatcher() (string, error)
- func (m *Matcher) IsDefaultMatcher() bool
- func (m *Matcher) IsRegexMatcher() bool
- func (m *Matcher) IsSelectMatcher() bool
- func (m *Matcher) MustRegexMatcher() RegexMatcher
- func (m *Matcher) MustSelectsMatcher() SelectMatcher
- func (m *Matcher) MustStandardMatcher() string
- func (m *Matcher) UnmarshalJSON(bs []byte) error
- func (m *Matcher) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
- func (m *Matcher) UnmarshalYAML(n *yaml.Node) error
- type Payload
- type RegexMatcher
- type Scene
- type SelectMatcher
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Base string `yaml:"base,omitempty" json:"base,omitempty" xml:"base,omitempty"` Name string `yaml:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` Text string `yaml:"text,omitempty" json:"text,omitempty" xml:"text,omitempty"` Scene string `yaml:"scene,omitempty" json:"scene,omitempty" xml:"scene,omitempty"` }
type GoodByeScene ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func (*Matcher) GetRegexMatcher ¶
func (m *Matcher) GetRegexMatcher() (*RegexMatcher, error)
func (*Matcher) GetSelectsMatcher ¶
func (m *Matcher) GetSelectsMatcher() (*SelectMatcher, error)
func (*Matcher) GetStandardMatcher ¶
func (*Matcher) IsDefaultMatcher ¶
func (*Matcher) IsRegexMatcher ¶
func (*Matcher) IsSelectMatcher ¶
func (*Matcher) MustRegexMatcher ¶
func (m *Matcher) MustRegexMatcher() RegexMatcher
func (*Matcher) MustSelectsMatcher ¶
func (m *Matcher) MustSelectsMatcher() SelectMatcher
func (*Matcher) MustStandardMatcher ¶
func (*Matcher) UnmarshalJSON ¶
func (*Matcher) UnmarshalXML ¶
func (*Matcher) UnmarshalYAML ¶
type RegexMatcher ¶
type Scene ¶
type Scene struct { Text Text `yaml:"text" json:"text" xml:"text"` NextScenes []string `yaml:"nextScenes,omitempty" json:"next_scenes,omitempty" xml:"nextScenes,omitempty"` IsInfoScene bool `yaml:"isInfoScene,omitempty" json:"is_info_scene,omitempty" xml:"isInfoScene,omitempty"` Matchers []Matcher `yaml:"matchers,omitempty" json:"matchers,omitempty" xml:"matchers,omitempty"` Error Error `yaml:"error,omitempty" json:"error,omitempty" xml:"error,omitempty"` Buttons map[string]Button `yaml:"buttons,omitempty" json:"buttons,omitempty" xml:"buttons,omitempty"` }
type SelectMatcher ¶
Click to show internal directories.
Click to hide internal directories.