service

package
v0.0.0-...-bd8e138 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MovieService

type MovieService struct {
	Validator *validator.Validate
}

func (*MovieService) AddMovie

func (s *MovieService) AddMovie(c *gin.Context)

Create / Post

func (*MovieService) DeleteMovie

func (s *MovieService) DeleteMovie(c *gin.Context)

Delete / Delete

func (*MovieService) GetMovie

func (s *MovieService) GetMovie(c *gin.Context)

Read / Get an individual movie

func (*MovieService) GetMovies

func (s *MovieService) GetMovies(c *gin.Context)

Read / Get all movies

func (*MovieService) ResetData

func (s *MovieService) ResetData(c *gin.Context)

Reset datastore

func (*MovieService) UpdateMovie

func (s *MovieService) UpdateMovie(c *gin.Context)

Update / Put

Jump to

Keyboard shortcuts

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