grpc

package
v4.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package grpc provides a gRPC service to effectively run task instances on multiple workers.

Index

Constants

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	jobs.UnimplementedTaskServiceServer
}

Handler implements the TaskService API

func (*Handler) Control

func (h *Handler) Control(ctx context.Context, command *jobs.CtrlCommand) (*jobs.CtrlCommandResponse, error)

Control publishes the passed command

func (*Handler) Name

func (h *Handler) Name() string

Jump to

Keyboard shortcuts

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