web

package
v0.0.0-...-b3a08df Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 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 Web

type Web struct {
	Handler *http.ServeMux
	// contains filtered or unexported fields
}

func NewWeb

func NewWeb(repos domain.Todolist) *Web

func (*Web) Add

func (web *Web) Add(rw http.ResponseWriter, req *http.Request)

func (*Web) ClearAllDone

func (web *Web) ClearAllDone(rw http.ResponseWriter, req *http.Request)

func (*Web) GetAll

func (web *Web) GetAll(rw http.ResponseWriter, req *http.Request)

func (*Web) Update

func (web *Web) Update(rw http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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