MCPcopy Create free account
hub / github.com/deepflowio/deepflow / getCloudBasicInfo

Function getCloudBasicInfo

server/controller/http/router/debug.go:68–75  ·  view source on GitHub ↗
(m *manager.Manager)

Source from the content-addressed store, hash-verified

66}
67
68func getCloudBasicInfo(m *manager.Manager) gin.HandlerFunc {
69 return gin.HandlerFunc(func(c *gin.Context) {
70 args := make(map[string]string)
71 args["lcuuid"] = c.Param("lcuuid")
72 data, err := service.GetCloudBasicInfos(args, m)
73 response.JSON(c, response.SetData(data), response.SetError(err))
74 })
75}
76
77func getCloudBasicInfos(m *manager.Manager) gin.HandlerFunc {
78 return gin.HandlerFunc(func(c *gin.Context) {

Callers 1

RegisterToMethod · 0.85

Calls 1

JSONMethod · 0.80

Tested by

no test coverage detected