Documentation
¶
Index ¶
- type EmbeddedHTTPResponsePayload
- type NativeHost
- type RuntimeHandle
- func (h *RuntimeHandle) CloseScene(sceneID string) error
- func (h *RuntimeHandle) EmitShellEvent(sceneID string, eventJSON string) error
- func (h *RuntimeHandle) HandleClientMessage(sceneID string, messageJSON string) error
- func (h *RuntimeHandle) HandleRequest(sceneID string, method string, path string, headersJSON string, body []byte) (string, error)
- func (h *RuntimeHandle) PrepareScene(sceneID string, path string) (string, error)
- func (h *RuntimeHandle) Stop()
- type SceneLaunchPayload
- type StartRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NativeHost ¶
type RuntimeHandle ¶
type RuntimeHandle struct {
// contains filtered or unexported fields
}
func StartRuntime ¶
func StartRuntime(configJSON string, host NativeHost) (*RuntimeHandle, error)
func (*RuntimeHandle) CloseScene ¶
func (h *RuntimeHandle) CloseScene(sceneID string) error
func (*RuntimeHandle) EmitShellEvent ¶
func (h *RuntimeHandle) EmitShellEvent(sceneID string, eventJSON string) error
func (*RuntimeHandle) HandleClientMessage ¶
func (h *RuntimeHandle) HandleClientMessage(sceneID string, messageJSON string) error
func (*RuntimeHandle) HandleRequest ¶
func (*RuntimeHandle) PrepareScene ¶
func (h *RuntimeHandle) PrepareScene(sceneID string, path string) (string, error)
func (*RuntimeHandle) Stop ¶
func (h *RuntimeHandle) Stop()
type SceneLaunchPayload ¶
type StartRequest ¶
type StartRequest struct {
BundleID string `json:"bundleID"`
AppVersion string `json:"appVersion"`
BuildChannel string `json:"buildChannel"`
ApplicationSupportDir string `json:"applicationSupportDir"`
CachesDir string `json:"cachesDir"`
LogsDir string `json:"logsDir"`
SessionStorePath string `json:"sessionStorePath"`
PushEnabled bool `json:"pushEnabled"`
SignInWithAppleEnabled bool `json:"signInWithAppleEnabled"`
StoreKitEnabled bool `json:"storeKitEnabled"`
}
Click to show internal directories.
Click to hide internal directories.