master

package
v0.0.0-...-30dae0c Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2014 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFrame

func NewFrame(job *job, fr int) *frame

func NewJob

func NewJob(id uint64, start, end int, renderer string, file []byte) *job

func NewMaster

func NewMaster() *master

func NewRPCInterface

func NewRPCInterface(m *master) *rpc.Server

func NewSlave

func NewSlave(name string) *slave

Types

type RPCJob

type RPCJob struct {
	Id       uint64
	Start    int
	Renderer string
	File     []byte
}

func CreateRPCJob

func CreateRPCJob(job *job) *RPCJob

type RPCProgress

type RPCProgress struct {
	JobId    uint64
	Frame    int
	Progress byte
}

type RPCRequestFrame

type RPCRequestFrame struct {
	JobId uint64
	Name  string
}

func CreateFrameRequest

func CreateFrameRequest(name string, job *RPCJob) *RPCRequestFrame

type RPCUploadFrame

type RPCUploadFrame struct {
	JobId uint64
	Frame int
	Data  []byte
}

Jump to

Keyboard shortcuts

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