handler

package
v0.0.0-...-a2850ee Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Note

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

func NewNoteHandler

func NewNoteHandler(db *driver.DB) *Note

func (*Note) Create

func (n *Note) Create(w http.ResponseWriter, r *http.Request)

func (*Note) Delete

func (n *Note) Delete(w http.ResponseWriter, r *http.Request)

func (*Note) Fetch

func (n *Note) Fetch(w http.ResponseWriter, r *http.Request)

func (*Note) GetByID

func (n *Note) GetByID(w http.ResponseWriter, r *http.Request)

func (*Note) Update

func (n *Note) 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