endpoints

package
v0.0.0-...-d22c78a Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TodoEndpoints

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

func NewTodoEndpoints

func NewTodoEndpoints(store store.TodoStore) TodoEndpoints

func (TodoEndpoints) Create

func (t TodoEndpoints) Create(w http.ResponseWriter, r *http.Request)

func (TodoEndpoints) Delete

func (t TodoEndpoints) Delete(w http.ResponseWriter, r *http.Request)

func (TodoEndpoints) GetAll

func (t TodoEndpoints) GetAll(w http.ResponseWriter, r *http.Request)

func (TodoEndpoints) GetById

func (t TodoEndpoints) GetById(w http.ResponseWriter, r *http.Request)

func (TodoEndpoints) Update

func (t TodoEndpoints) 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