MCPcopy Index your code
hub / github.com/APIParkLab/APIPark / GlobalHandleSSE

Method GlobalHandleSSE

controller/mcp/iml.go:172–177  ·  view source on GitHub ↗
(ctx *gin.Context)

Source from the content-addressed store, hash-verified

170}
171
172func (i *imlMcpController) GlobalHandleSSE(ctx *gin.Context) {
173 apikey := ctx.Request.URL.Query().Get("apikey")
174 i.handleSSE(ctx, i.openSseServer, SessionInfo{
175 Apikey: apikey,
176 })
177}
178
179func (i *imlMcpController) handleSSE(ctx *gin.Context, server http.Handler, sIn SessionInfo) {
180

Callers

nothing calls this directly

Calls 2

handleSSEMethod · 0.95
GetMethod · 0.65

Tested by

no test coverage detected