worker

package
v0.0.0-...-bdbcc17 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChildEnvName = fmt.Sprintf("%s_CHILD_ID", strings.ToUpper(pkgName))

Functions

func Start

func Start(callback Callback)

Start the worker loop

Types

type Callback

type Callback func(cursor common.CursorImage)

type CursorBuffer

type CursorBuffer struct {
	Pix    []byte
	Width  int
	Height int
	Hotx   int
	Hoty   int
}

type Empty

type Empty struct{}

type Handle

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

func NewHandle

func NewHandle() *Handle

type MessageHandler

type MessageHandler func(data []byte)

MessageHandler function definition

Jump to

Keyboard shortcuts

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