taskhdl

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskHTTPHandler

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

TaskHTTPHandler is an HTTP handler that exposes task endpoints.

func NewTaskHTTPHandler

func NewTaskHTTPHandler(taskService port.TaskService) *TaskHTTPHandler

NewTaskHTTPHandler creates and returns a new JobHTTPHandler.

func (*TaskHTTPHandler) GetTasks

func (hdl *TaskHTTPHandler) GetTasks(c *gin.Context)

GetTasks returns all registered tasks.

type TaskgRPCHandler

type TaskgRPCHandler struct {
	pb.UnimplementedTaskServer
	// contains filtered or unexported fields
}

TaskgRPCHandler is a gRPC handler that exposes task endpoints.

func NewTaskgRPCHandler

func NewTaskgRPCHandler(taskService port.TaskService) *TaskgRPCHandler

NewTaskgRPCHandler creates and returns a new TaskgRPCHandler.

func (*TaskgRPCHandler) GetTasks

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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