process

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exec

func Exec(task *pb.Task) (result int, err error)

Exec executes a program

func RepeatHeartBeat

func RepeatHeartBeat(grpcDriver *client.GRPCDriver, queueID string, taskID string, isWorking *struct{ active bool })

RepeatHeartBeat calls the heartbeat function repeatedly, until the task completes

func Work

func Work(grpcDriver *client.GRPCDriver, queueID string, workType string) (result int, err error)

Work manages getting, heartbeating, and completing or failing items, in a loop

Types

This section is empty.

Jump to

Keyboard shortcuts

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