Mock API
This commit is contained in:
parent
be8ff3466a
commit
a9be05854c
11 changed files with 331 additions and 12 deletions
16
api/settings.go
Normal file
16
api/settings.go
Normal file
|
@ -0,0 +1,16 @@
|
|||
package api
|
||||
|
||||
import (
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
"git.nemunai.re/nemunaire/reveil/config"
|
||||
)
|
||||
|
||||
func declareSettingsRoutes(cfg *config.Config, router *gin.RouterGroup) {
|
||||
router.GET("/settings", func(c *gin.Context) {
|
||||
|
||||
})
|
||||
router.PUT("/settings", func(c *gin.Context) {
|
||||
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue