api

package
v0.0.0-...-729bbdd Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterHandler

type CharacterHandler interface {
	CreateCharacter(*gin.Context)
	GetCharacter(*gin.Context)
	GetCharacters(*gin.Context)
	UpdateCharacter(*gin.Context)
	DeleteCharacter(*gin.Context)
}

func NewCharacterHandler

func NewCharacterHandler(characterService app.CharacterService) CharacterHandler

type CommentHandler

type CommentHandler interface {
	CreateComment(*gin.Context)
	GetComment(*gin.Context)
	GetComments(*gin.Context)
	UpdateComment(*gin.Context)
	DeleteComment(*gin.Context)
}

func NewCommentHandler

func NewCommentHandler(commentService app.CommentService) CommentHandler

type MovieHandler

type MovieHandler interface {
	CreateMovie(*gin.Context)
	GetMovie(*gin.Context)
	GetMovies(*gin.Context)
	UpdateMovie(*gin.Context)
	DeleteMovie(*gin.Context)
	GetMovieComments(*gin.Context)
	GetMovieCharacters(*gin.Context)
}

func NewMovieHandler

func NewMovieHandler(movieService app.MovieService) MovieHandler

Jump to

Keyboard shortcuts

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