Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StartSceneNotFoundError = errors.New("start scene with it name not found") GoodbyeSceneNotFoundError = errors.New("goodbye scene with it name not found") )
Functions ¶
This section is empty.
Types ¶
type ScriptInfo ¶
type ScriptInfo struct { StartScene string `yaml:"startScene" json:"start_scene" xml:"startScene"` Name string `yaml:"name" json:"name" xml:"name"` GoodByeCommand string `yaml:"goodByeCommand" json:"good_bye_command" xml:"goodByeCommand"` GoodByeScene string `yaml:"goodByeScene" json:"good_bye_scene" xml:"goodByeScene"` UserMatchers map[string]scene.Matcher `yaml:"matchers,omitempty" json:"matchers,omitempty" xml:"matchers,omitempty"` Script Script `yaml:"script" json:"script" xml:"script"` }
func LoadScriptInfo ¶
func LoadScriptInfo(path string) (*ScriptInfo, error)
func (*ScriptInfo) IsValid ¶
func (si *ScriptInfo) IsValid() (is bool, err error)
Click to show internal directories.
Click to hide internal directories.