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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Create

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

func NewCreate

func NewCreate(taskCli client.TaskClient) *Create

func (*Create) Complete

func (p *Create) Complete(w http.ResponseWriter, r *http.Request)

func (*Create) Input

func (p *Create) Input(w http.ResponseWriter, r *http.Request)

type Delete

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

func NewDelete

func NewDelete(taskCli client.TaskClient) *Delete

func (*Delete) Complete

func (p *Delete) Complete(w http.ResponseWriter, r *http.Request)

func (*Delete) Confirm

func (p *Delete) Confirm(w http.ResponseWriter, r *http.Request)

type Index

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

func NewIndex

func NewIndex(taskCli client.TaskClient) *Index

func (*Index) Index

func (p *Index) Index(w http.ResponseWriter, r *http.Request)

type Update

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

func NewUpdate

func NewUpdate(taskCli client.TaskClient) *Update

func (*Update) Complete

func (p *Update) Complete(w http.ResponseWriter, r *http.Request)

func (*Update) Input

func (p *Update) Input(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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