handlers

package
v0.0.0-...-02556ac Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCatHandler

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

GetCatHandler returns details of a single cat, by name

func GetCatsHandler

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

GetCatsHandler returns all cats

func GetRootHandler

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

GetRootHandler returns general message and api

Types

This section is empty.

Jump to

Keyboard shortcuts

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