controllers

package
v0.0.0-...-05815ac Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenreController

type GenreController struct {
	GenreService services.GenreService
}

func NewGenreController

func NewGenreController(genreService *services.GenreService) *GenreController

func (*GenreController) CreateGenre

func (c *GenreController) CreateGenre(ctx *gin.Context)

func (*GenreController) DeleteGenre

func (c *GenreController) DeleteGenre(ctx *gin.Context)

func (*GenreController) GetGenre

func (c *GenreController) GetGenre(ctx *gin.Context)

func (*GenreController) GetGenres

func (c *GenreController) GetGenres(ctx *gin.Context)

func (*GenreController) UpdateGenre

func (c *GenreController) UpdateGenre(ctx *gin.Context)

type LocationController

type LocationController struct {
	LocationService services.LocationService
}

func NewLocationController

func NewLocationController(locationService *services.LocationService) *LocationController

func (*LocationController) CreateCity

func (c *LocationController) CreateCity(ctx *gin.Context)

func (*LocationController) CreateCountry

func (c *LocationController) CreateCountry(ctx *gin.Context)

func (*LocationController) CreateState

func (c *LocationController) CreateState(ctx *gin.Context)

func (*LocationController) GetCitiesByState

func (c *LocationController) GetCitiesByState(ctx *gin.Context)

func (*LocationController) GetCountries

func (c *LocationController) GetCountries(ctx *gin.Context)

func (*LocationController) GetStatesByCountry

func (c *LocationController) GetStatesByCountry(ctx *gin.Context)

type MovieController

type MovieController struct {
	MovieService services.MovieService
}

func NewMovieController

func NewMovieController(movieService *services.MovieService) *MovieController

func (*MovieController) CreateMovie

func (c *MovieController) CreateMovie(ctx *gin.Context)

func (*MovieController) DeleteMovie

func (c *MovieController) DeleteMovie(ctx *gin.Context)

func (*MovieController) GetMovie

func (c *MovieController) GetMovie(ctx *gin.Context)

func (*MovieController) GetMovies

func (c *MovieController) GetMovies(ctx *gin.Context)

func (*MovieController) UpdateMovie

func (c *MovieController) UpdateMovie(ctx *gin.Context)

func (*MovieController) UpdateMovieGenres

func (c *MovieController) UpdateMovieGenres(ctx *gin.Context)

type TheaterController

type TheaterController struct {
	TheaterService services.TheaterService
}

func NewTheaterController

func NewTheaterController(theaterService *services.TheaterService) *TheaterController

func (*TheaterController) CreateTheater

func (c *TheaterController) CreateTheater(ctx *gin.Context)

func (*TheaterController) CreateTheaterLocation

func (c *TheaterController) CreateTheaterLocation(ctx *gin.Context)

func (*TheaterController) GetNearbyTheaters

func (c *TheaterController) GetNearbyTheaters(ctx *gin.Context)

func (*TheaterController) GetTheater

func (c *TheaterController) GetTheater(ctx *gin.Context)

func (*TheaterController) GetTheaters

func (c *TheaterController) GetTheaters(ctx *gin.Context)

func (*TheaterController) UpdateTheaterLocation

func (c *TheaterController) UpdateTheaterLocation(ctx *gin.Context)

type UserController

type UserController struct {
	UserService services.UserService
}

func NewUserController

func NewUserController(userService *services.UserService) *UserController

func (*UserController) CreatePasswordResetToken

func (c *UserController) CreatePasswordResetToken(ctx *gin.Context)

func (*UserController) CreateUser

func (c *UserController) CreateUser(ctx *gin.Context)

func (*UserController) GetCurrentUser

func (c *UserController) GetCurrentUser(ctx *gin.Context)

func (*UserController) GetUser

func (c *UserController) GetUser(ctx *gin.Context)

func (*UserController) LoginUser

func (c *UserController) LoginUser(ctx *gin.Context)

func (*UserController) LogoutUser

func (c *UserController) LogoutUser(ctx *gin.Context)

func (*UserController) ResetPassword

func (c *UserController) ResetPassword(ctx *gin.Context)

func (*UserController) UpdateUserPassword

func (c *UserController) UpdateUserPassword(ctx *gin.Context)

func (*UserController) UserExistsByEmail

func (c *UserController) UserExistsByEmail(ctx *gin.Context)

func (*UserController) VerifyUser

func (c *UserController) VerifyUser(ctx *gin.Context)

type UserProfileController

type UserProfileController struct {
	UserProfileService services.UserProfileService
}

func NewUserProfileController

func NewUserProfileController(userProfileService *services.UserProfileService) *UserProfileController

func (*UserProfileController) DeleteProfilePicture

func (c *UserProfileController) DeleteProfilePicture(ctx *gin.Context)

func (*UserProfileController) GetProfileByUserID

func (c *UserProfileController) GetProfileByUserID(ctx *gin.Context)

func (*UserProfileController) UpdateProfilePicture

func (c *UserProfileController) UpdateProfilePicture(ctx *gin.Context)

func (*UserProfileController) UpdateUserProfile

func (c *UserProfileController) UpdateUserProfile(ctx *gin.Context)

Jump to

Keyboard shortcuts

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