Documentation ¶
Index ¶
- func StartAccountsRoutes(g *gin.RouterGroup)
- type AccountsController
- func (controller *AccountsController) HandleGetAdmins(c *gin.Context)
- func (controller *AccountsController) HandleGetProfile(c *gin.Context)
- func (controller *AccountsController) HandleRegisterAdmin(c *gin.Context)
- func (controller *AccountsController) HandleRegisterStudent(c *gin.Context)
- func (controller *AccountsController) HandleRegisterTeacher(c *gin.Context)
- func (controller *AccountsController) HandleSearchStudents(c *gin.Context)
- func (controller *AccountsController) HandleUpdatePassword(c *gin.Context)
- func (controller *AccountsController) HandleUpdateProfile(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAccountsRoutes ¶
func StartAccountsRoutes(g *gin.RouterGroup)
Types ¶
type AccountsController ¶
type AccountsController struct {
UseCases *application.AccountsUseCases
}
func (*AccountsController) HandleGetAdmins ¶
func (controller *AccountsController) HandleGetAdmins(c *gin.Context)
func (*AccountsController) HandleGetProfile ¶ added in v0.49.0
func (controller *AccountsController) HandleGetProfile(c *gin.Context)
HandleGetProfile controller to get the profile of an account
func (*AccountsController) HandleRegisterAdmin ¶
func (controller *AccountsController) HandleRegisterAdmin(c *gin.Context)
func (*AccountsController) HandleRegisterStudent ¶
func (controller *AccountsController) HandleRegisterStudent(c *gin.Context)
func (*AccountsController) HandleRegisterTeacher ¶
func (controller *AccountsController) HandleRegisterTeacher(c *gin.Context)
func (*AccountsController) HandleSearchStudents ¶ added in v0.15.0
func (controller *AccountsController) HandleSearchStudents(c *gin.Context)
func (*AccountsController) HandleUpdatePassword ¶ added in v0.46.0
func (controller *AccountsController) HandleUpdatePassword(c *gin.Context)
func (*AccountsController) HandleUpdateProfile ¶ added in v0.48.0
func (controller *AccountsController) HandleUpdateProfile(c *gin.Context)
HandleUpdateProfile controller to update the profile of an account
Click to show internal directories.
Click to hide internal directories.