MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / GetPlatformStatus

Function GetPlatformStatus

daemon/pkg/handler/platform_handler.go:40–48  ·  view source on GitHub ↗
(ctx *gin.Context)

Source from the content-addressed store, hash-verified

38}
39
40func 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
50func GetCodeServerAddress(ctx *gin.Context) {
51 if config.GlobalConfig.Dependency.CodeServerAddr == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected