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
Click to show internal directories.
Click to hide internal directories.