hub

package
v0.1.3-alpha-ee22887 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClosedDirector

type ClosedDirector interface {
	Close()
}

type PlayedSceneResult

type PlayedSceneResult struct {
	drt.Result
	WorkedDirector ClosedDirector
}

type ScriptHub

type ScriptHub struct {
	// contains filtered or unexported fields
}

func NewHub

func NewHub() *ScriptHub

func (*ScriptHub) AttachDirector

func (h *ScriptHub) AttachDirector(sessionId string, op drt.Director)

func (*ScriptHub) Run

func (h *ScriptHub) Run()

func (*ScriptHub) RunScene

func (h *ScriptHub) RunScene(rq marusia.Request) chan PlayedSceneResult

func (*ScriptHub) StopHub

func (h *ScriptHub) StopHub()

type ScriptRunner

type ScriptRunner interface {
	AttachDirector(sessionId string, op drt.Director)
	RunScene(req marusia.Request) chan PlayedSceneResult
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL