controllers

package
v0.0.0-...-efea637 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnimalGET

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

Get single animal

func AnimalPOST

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

Update animal

func AnimalsGET

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

Get the list of animals

func AnimalsPOST

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

Create animal

func CaseGET

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

Get single case

func CasePOST

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

Update case

func CasesGET

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

Get multiple cases

func CasesPOST

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

Create case

func CommentsGET

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

Get multiple comments

func CommentsPOST

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

Create/update comment

func LoginGET

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

func LoginPOST

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

func LogoutGET

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

func NotFound

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

func ProfileGET

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

Get user profile

func ProfilePOST

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

Update user profile

func RecoverPOST

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

func RegisterGET

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

func RegisterPOST

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

Types

type Response

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

Jump to

Keyboard shortcuts

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