MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / imlMcpController

Struct imlMcpController

controller/mcp/iml.go:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21var _ IMcpController = (*imlMcpController)(nil)
22
23type imlMcpController struct {
24 settingModule system.ISettingModule `autowired:""`
25 authorizationModule application_authorization.IAuthorizationModule `autowired:""`
26 appModule service.IAppModule `autowired:""`
27 mcpModule mcp.IMcpModule `autowired:""`
28 sessionKeys sync.Map
29 sseServers map[string]http.Handler
30 openSseServer http.Handler
31 openStreamableServer http.Handler
32}
33
34func (i *imlMcpController) AppMCPHandle(ctx *gin.Context) {
35 appId := ctx.Param("app")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected