| 21 | var _ IMcpController = (*imlMcpController)(nil) |
| 22 | |
| 23 | type 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 | |
| 34 | func (i *imlMcpController) AppMCPHandle(ctx *gin.Context) { |
| 35 | appId := ctx.Param("app") |
nothing calls this directly
no outgoing calls
no test coverage detected