Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repository ¶
type Repository struct { App *config.AppConfig DB database.DatabaseRepo }
Repository represents the handler repository to share the app configuration.
var Repo *Repository
Repo is the repository to share the app configuration.
func NewRepo ¶
func NewRepo(a *config.AppConfig, db database.DatabaseRepo) *Repository
NewRepo returns a new instance of a repository for the mongo driver.
func (*Repository) GetOwnUser ¶
func (m *Repository) GetOwnUser(c *gin.Context)
func (*Repository) Login ¶
func (m *Repository) Login(c *gin.Context)
func (*Repository) StatusHandler ¶
func (m *Repository) StatusHandler(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.