Documentation ¶
Index ¶
- Constants
- Variables
- func NewDefaultMarusiaWebhook(l logger.Interface, runnerHub runner.ScriptRunner, sdc sd.SceneDirectorConfig) *marusia.Webhook
- func ToHubApplication(req marusia.Application) runner.Application
- func ToHubMeta(req marusia.Meta) runner.Meta
- func ToHubRequest(req marusia.Request) runner.Request
- func ToHubRequestIn(req marusia.RequestIn) runner.RequestIn
- func ToHubSession(req marusia.Session) runner.Session
- func ToHubUser(req marusia.User) runner.User
Constants ¶
View Source
const RequestTime = 60 * time.Second
Variables ¶
View Source
var ( ErrorTooLongRunning = errors.New("too long run scene") ErrorBadDirectorAnswer = errors.New("bad answer from script director") )
Functions ¶
func NewDefaultMarusiaWebhook ¶
func NewDefaultMarusiaWebhook(l logger.Interface, runnerHub runner.ScriptRunner, sdc sd.SceneDirectorConfig) *marusia.Webhook
func ToHubApplication ¶
func ToHubApplication(req marusia.Application) runner.Application
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.