(ctx *gin.Context)
| 38 | } |
| 39 | |
| 40 | func GetPlatformStatus(ctx *gin.Context) { |
| 41 | resp := ginmodel.JsonResp{ |
| 42 | Code: 0, |
| 43 | Message: "ok", |
| 44 | Data: nil, |
| 45 | } |
| 46 | ctx.JSON(http.StatusOK, resp) |
| 47 | |
| 48 | } |
| 49 | |
| 50 | func GetCodeServerAddress(ctx *gin.Context) { |
| 51 | if config.GlobalConfig.Dependency.CodeServerAddr == "" { |
nothing calls this directly
no outgoing calls
no test coverage detected