You cannot 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 config
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func InitRouter(r *gin.RouterGroup) {
|
|
r.GET("configs", GetConfigs)
|
|
r.GET("config/*name", GetConfig)
|
|
r.POST("config", AddConfig)
|
|
r.POST("config/*name", EditConfig)
|
|
}
|