Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRoutes ¶
func AddRoutes(r *gin.Engine, authMiddleware *jwt.GinJWTMiddleware) *gin.RouterGroup
func CORS ¶
func CORS() gin.HandlerFunc
func GetInstallation ¶
GetInstallation example @Summary Get to know if the system was installed before or not. @Description Get to know if the system was installed before or not. @ID web.getinstallation @Produce json @Success 200 {object} models.APIResponse @Router /api/install [get]
func JWTMiddleWare ¶
func JWTMiddleWare() jwt.GinJWTMiddleware
func StartServer ¶
func UpdateInstallation ¶
UpdateInstallation example @Summary If not yet installed, initiate the user configuration. @Description If not yet installed, initiate the user configuration. @ID web.updateinstallation @Produce json @Success 200 {object} models.APIResponse @Router /api/install [post]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.