Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminController ¶
type AdminController struct {
// contains filtered or unexported fields
}
AdminController manages browser requests for admin pages
func NewAdminController ¶
func NewAdminController(db *gorm.DB) *AdminController
NewAdminController creates a new instance
func (AdminController) ShowAdminPage ¶
func (gc AdminController) ShowAdminPage(c *gin.Context)
ShowAdminPage either shows the login page or the admin panel, depending on whether the user is logged in and has access to the group
type PageController ¶
type PageController struct {
// contains filtered or unexported fields
}
PageController manages browser requests related to group pages
func NewPageController ¶
func NewPageController(db *gorm.DB) *PageController
NewPageController creates a new instance
func (PageController) ShowGroupPage ¶
func (gc PageController) ShowGroupPage(c *gin.Context)
ShowGroupPage shows the group page, which will use its front-end to make api requests for loading the appropriate data
Click to show internal directories.
Click to hide internal directories.