package
0.0.0-20240507230052-deb99a2196dd
Repository: https://github.com/csci-x050-a7/backend.git
Documentation: pkg.go.dev
# Functions
Activation method for activating a new unactivated user.
CreateUser func for creates a new user.
DeleteUser func delete a user.
GetUser func get a user.
GetUsers func get all users.
UpdateUser func update a user.
ChangePassword method for changing the user's password.
CheckoutOrder func for check out an existing order.
CreateMovie func for creates a new movie.
CreateOrder func for creates a new order.
CreatePromo func creates a new promotion
@Description Create a new promotion.
CreateShow func for creates a new show.
DeleteMovie func delete a movie.
DeleteShow func delete a Show.
ForgotPassword method for initiating the password reset process.
No description provided by the author
No description provided by the author
GetCard func gets a card.
singleton pattern.
No description provided by the author
GetMovie func gets a movie.
GetMovies func gets all movies.
GetMovieShows func gets all shows of a movie.
GetOrder func gets a order.
No description provided by the author
GetPromos func gets all promotions.
GetShow func gets a Show.
GetTicket func retrieves a ticket by ID
@Description Retrieve a ticket by ID.
GetUserMe func get a user me.
GetUserOrders func gets the list of all orders history from the current user.
No description provided by the author
Get current JWT method for debugging.
No description provided by the author
Login method for creating a new access token.
Logout method.
No description provided by the author
Register method for creating a new unactivated user.
ResetPassword method for resetting the user's password.
UpdateMovie func update a movie.
UpdatePromo func update a promo.
UpdateShow func update a Show.
UpdateUser update user information.
Version
@Summary get current software version @Tags Misc @Accept json @Produce json @Success 200 {object} interface{} @Router /api/v1/version [get].