feat: more reorganisation and keys endpoint
This commit is contained in:
@@ -12,6 +12,19 @@ import (
|
||||
|
||||
func RegisterApiRoutes(api *gin.RouterGroup /* env runtime.Environment,*/, db *gorm.DB) {
|
||||
// prefix: api
|
||||
|
||||
api.GET("/keys", func(c *gin.Context) {
|
||||
|
||||
})
|
||||
|
||||
api.POST("/keys", func(c *gin.Context) {
|
||||
|
||||
})
|
||||
|
||||
api.DELETE("/keys", func(c *gin.Context) {
|
||||
|
||||
})
|
||||
|
||||
// Display the information on what is going on at the moment
|
||||
api.GET("/command", func(c *gin.Context) {
|
||||
state, err := database.GetState(db)
|
||||
|
||||
Reference in New Issue
Block a user