You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package admin
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
|
|
|
"github.com/gin-gonic/gin"
|
|
|
|
)
|
|
|
|
|
|
|
|
// register
|
|
|
|
func AdminLogin(c *gin.Context) {
|
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
}
|
|
|
|
|
|
|
|
func AdminRegister(c *gin.Context) {
|
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
}
|
|
|
|
|
|
|
|
func GetAdminSettings(c *gin.Context) {
|
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
}
|
|
|
|
|
|
|
|
func AlterAdminSettings(c *gin.Context) {
|
|
|
|
c.JSON(http.StatusOK, gin.H{"message": "someJSON", "status": 200})
|
|
|
|
}
|