/httpc'
// 获取所有 deployment 信息
// namespace 默认值为 defualt
// 使用 async await 解析内容
async function getAllDeployments...func cors() gin.HandlerFunc {
return func(c *gin.Context) {
method := c.Request.Method
if method...", "POST, GET, OPTIONS, PUT, DELETE, UPDATE")
c.Header("Access-Control-Allow-Headers", "Origin, X-Requested-With..., Content-Type, Accept, Authorization,X-Token")
c.Header("Access-Control-Expose-Headers", "Content-Length...https://v3.vuejs.org/guide/composition-api-lifecycle-hooks.html
import {reactive