task

package
v0.0.0-...-1a687a5 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task

type Task struct {
	// ClientManager responsible for managing task operations.
	ClientManager client.Manager
}

Task implementation of the Task APIs operations.

func New

func New(
	cm client.Manager,
) *Task

New factory to create a new instance.

func (Task) DeleteTaskID

func (t Task) DeleteTaskID(
	ctx echo.Context,
	messageID uint64,
) error

DeleteTaskID deletes a single action through the task API endpoint.

func (Task) GetTask

func (t Task) GetTask(
	ctx echo.Context,
) error

GetTask gets all items through the task API endpoint.

func (Task) GetTaskID

func (t Task) GetTaskID(
	ctx echo.Context,
	messageID uint64,
) error

GetTaskID fetches a single item through the task API endpoint.

func (Task) GetTaskStatus

func (t Task) GetTaskStatus(
	ctx echo.Context,
) error

GetTaskStatus gets status through the task API endpoint.

func (Task) PostTask

func (t Task) PostTask(
	ctx echo.Context,
) error

PostTask puts a single item into the task API endpoint.

Directories

Path Synopsis
Package gen provides primitives to interact with the openapi HTTP API.
Package gen provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

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