handler

package
v0.0.0-...-326920e Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

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

This function will deal with a request to create an object in the database.

func Delete

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

This function will deal with a request to delet an object at the database.

func GetAll

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

This function will deal with a request to get all the objects stores in the database.

func GetByID

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

This function will deal with a request to get an specific object at the dabase.

func Index

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

The index function will be called by the index page.

func Update

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

This function will deal with a request to do a update at an object at the database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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