todo

package
v0.0.0-...-73ef7ee Latest Latest
Warning

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

Go to latest
Published: May 22, 2021 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeleteHandler

func NewDeleteHandler(db *buntdb.DB) func(w http.ResponseWriter, r *http.Request) error

NewDeleteHandler function.

func NewGetAllHandler

func NewGetAllHandler(db *buntdb.DB) func(w http.ResponseWriter, r *http.Request) error

NewGetAllHandler function.

func NewGetOneHandler

func NewGetOneHandler(db *buntdb.DB) func(w http.ResponseWriter, r *http.Request) error

NewGetOneHandler function.

func NewSaveHandler

func NewSaveHandler(db *buntdb.DB) func(w http.ResponseWriter, r *http.Request) error

NewSaveHandler function.

func NewUpdateHandler

func NewUpdateHandler(db *buntdb.DB) func(w http.ResponseWriter, r *http.Request) error

NewUpdateHandler function.

Types

type Error

type Error struct {
	Err     error
	Message string
	Code    int
}

Error contains error information.

func (*Error) Error

func (e *Error) Error() string

type Item

type Item struct {
	Key       string `json:"key"`
	Title     string `json:"title"`
	Completed bool   `json:"completed"`
	URL       string `json:"url"`
	Order     int    `json:"order"`
}

Item struct.

Jump to

Keyboard shortcuts

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