handlers

package
v0.0.0-...-7e82da1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllMoviesEndPoint

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

GET list of movies

func CreateMovieEndPoint

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

POST a new movie

func DeleteMovieEndPoint

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

DELETE an existing movie

func FindMovieEndpoint

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

GET a movie by its ID

func UpdateMovieEndPoint

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

PUT update an existing movie

Types

This section is empty.

Jump to

Keyboard shortcuts

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