mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
11 lines
320 B
Go
11 lines
320 B
Go
package template
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func InitRouter(r *gin.RouterGroup) {
|
|
r.GET("template", GetTemplate)
|
|
r.GET("template/configs", GetTemplateConfList)
|
|
r.GET("template/blocks", GetTemplateBlockList)
|
|
r.GET("template/block/:name", GetTemplateBlock)
|
|
r.POST("template/block/:name", GetTemplateBlock)
|
|
}
|