Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RenderCreator ¶
func RenderCreator() protocol.CompRender
Types ¶
type ComponentAction ¶
type ComponentAction struct {
State State `json:"state"`
}
func (*ComponentAction) Render ¶
func (ca *ComponentAction) Render(ctx context.Context, c *apistructs.Component, scenario apistructs.ComponentProtocolScenario, event apistructs.ComponentEvent, gs *apistructs.GlobalStateData) error
func (*ComponentAction) RenderState ¶
func (ca *ComponentAction) RenderState(c *apistructs.Component) error
type State ¶
type State struct { ClickType string `json:"clickType"` ActiveKey apistructs.ActiveKey `json:"activeKey"` AutotestSceneRequest apistructs.AutotestSceneRequest `json:"autotestSceneRequest"` SceneId uint64 `json:"sceneId"` IsChangeScene bool `json:"isChangeScene"` }
Click to show internal directories.
Click to hide internal directories.