32 lines
512 B
Go
32 lines
512 B
Go
package handler
|
|
|
|
import "github.com/gin-gonic/gin"
|
|
|
|
func SetUpCIDGroup(router *gin.Engine) {
|
|
cidGroup := router.Group("/cid") //持续集成、部署
|
|
cidGroup.POST("/create", GetImKey)
|
|
cidGroup.POST("/delete", DeleteCID)
|
|
cidGroup.POST("/update", UpdateCID)
|
|
cidGroup.POST("/list", GetCIDList)
|
|
cidGroup.POST("/run", RunCID)
|
|
}
|
|
func RunCID(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func CreateCID(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func DeleteCID(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func UpdateCID(c *gin.Context) {
|
|
|
|
}
|
|
|
|
func GetCIDList(c *gin.Context) {
|
|
|
|
}
|