MCPcopy Index your code
hub / github.com/apache/answer / GetRenderConfig

Method GetRenderConfig

internal/controller/render_controller.go:43–52  ·  view source on GitHub ↗

GetRenderConfig godoc @Summary GetRenderConfig @Description GetRenderConfig @Tags PluginRender @Accept json @Produce json @Router /answer/api/v1/render/config [get] @Success 200 {object} handler.RespBody{data=plugin.RenderConfig}

(ctx *gin.Context)

Source from the content-addressed store, hash-verified

41// @Router /answer/api/v1/render/config [get]
42// @Success 200 {object} handler.RespBody{data=plugin.RenderConfig}
43func (c *RenderController) GetRenderConfig(ctx *gin.Context) {
44 var resp *plugin.RenderConfig
45
46 _ = plugin.CallRender(func(render plugin.Render) (err error) {
47 resp = render.GetRenderConfig(ctx)
48 return nil
49 })
50
51 handler.HandleResponse(ctx, nil, resp)
52}

Callers

nothing calls this directly

Calls 2

HandleResponseFunction · 0.92
GetRenderConfigMethod · 0.65

Tested by

no test coverage detected