client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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 TaskClient

type TaskClient interface {
	Update(id string, input payload.Task) error
	Delete(id string) error
	Get(id string) (*model.Task, error)
	Create(input payload.Task) error
	List() ([]*model.Task, error)
}

func NewTask

func NewTask(apiAddress string) TaskClient

Jump to

Keyboard shortcuts

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