messages

package
v0.1.1-0...-7335341 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2019 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RenderRequest         = "Render"
	PixelResult           = "Pixel"
	RenderingCompleted    = "Rendered"
	RenderRequestResponse = "RenderResponse"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentStatus

type AgentStatus struct {
	Available bool
	Cores     int
}

type PixelResultMessage

type PixelResultMessage struct {
	Type        string
	Data        models.Pixel
	OperationId string
}

type RenderRequestMessage

type RenderRequestMessage struct {
	Type        string
	Data        models.Specification
	OperationId string
}

type RenderRequestResponseMessage

type RenderRequestResponseMessage struct {
	Type        string
	Code        RenderResponseCode
	OperationId string
}

type RenderResponseCode

type RenderResponseCode string
const (
	RenderRequestAccepted                 RenderResponseCode = "RenderRequestAccepted"
	RenderRequestTracingAlreadyInProgress                    = "RenderRequestTracingAlreadyInProgress"
)

type WebSocketMessage

type WebSocketMessage struct {
	Type        string
	Data        interface{}
	OperationId string
}

Jump to

Keyboard shortcuts

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