Documentation ¶
Index ¶
- Constants
- func AuthRequired() gin.HandlerFunc
- func DeploymentConsole(c *gin.Context)
- func DeploymentPublish(c *gin.Context)
- func FileUpload(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func ProjectDetail(c *gin.Context)
- func ProjectLastDeployment(c *gin.Context)
- func ProjectList(c *gin.Context)
- func ProjectRouter(c *gin.Context)
- func ProjectUpdate(c *gin.Context)
- func ProjectValid(c *gin.Context)
- func ServerList(c *gin.Context)
- type DeploymentLog
- type DeploymentPublishRequest
- type FileUplodResult
- type LoginSuccess
- type Result
Constants ¶
View Source
const ( StatusParamError = 10904001 //请求参数错误 StatusDatabaseError = 10904002 // 数据库异常 ServerError = 10909999 //服务端异常 )
Variables ¶
This section is empty.
Functions ¶
func AuthRequired ¶
func AuthRequired() gin.HandlerFunc
func DeploymentConsole ¶
func DeploymentPublish ¶
func FileUpload ¶
func ProjectDetail ¶
func ProjectLastDeployment ¶
func ProjectList ¶
func ProjectRouter ¶
func ProjectUpdate ¶
func ProjectValid ¶
func ServerList ¶
Types ¶
type DeploymentLog ¶
type FileUplodResult ¶
type LoginSuccess ¶
type LoginSuccess struct {
// contains filtered or unexported fields
}
type Result ¶
type Result struct { Code int `json:"code"` Message string `json:"message"` Data interface{} `json:"data"` }
func FailWithData ¶
func FailWithMsg ¶
Click to show internal directories.
Click to hide internal directories.