handler

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: 10 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 {
	// contains filtered or unexported fields
}

func NewTask

func NewTask(taskRepo repository.Task) *Task

func (*Task) Create

func (h *Task) Create(w http.ResponseWriter, r *http.Request)

func (*Task) Delete

func (h *Task) Delete(w http.ResponseWriter, r *http.Request)

func (*Task) Get

func (h *Task) Get(w http.ResponseWriter, r *http.Request)

func (*Task) List

func (h *Task) List(w http.ResponseWriter, r *http.Request)

func (*Task) Update

func (h *Task) Update(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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