handlers

package
v0.0.0-...-63f3735 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBeer

func AddBeer(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

AddBeer adds a new beer to the cellar

func AddBeerReview

func AddBeerReview(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

AddBeerReview adds a new review for a beer

func GetBeer

func GetBeer(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

GetBeer returns a beer from the cellar

func GetBeerReviews

func GetBeerReviews(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

GetBeerReviews returns all reviews for a beer

func GetBeers

func GetBeers(w http.ResponseWriter, r *http.Request, _ httprouter.Params)

GetBeers returns the cellar

Types

This section is empty.

Jump to

Keyboard shortcuts

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