Documentation
¶
Index ¶
Constants ¶
View Source
const ( ToolServiceList = "service_list" ToolOpenAPIDocument = "openapi_document" ToolInvokeAPI = "invoke_api" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMcpController ¶
type IMcpController interface {
MCPHandle(ctx *gin.Context)
GlobalMCPHandle(ctx *gin.Context)
GlobalHandleSSE(ctx *gin.Context)
GlobalHandleMessage(ctx *gin.Context)
GlobalMCPConfig(ctx *gin.Context) (string, error)
AppMCPHandle(ctx *gin.Context)
AppHandleSSE(ctx *gin.Context)
AppHandleMessage(ctx *gin.Context)
AppMCPConfig(ctx *gin.Context, appId string) (string, error)
ServiceHandleSSE(ctx *gin.Context)
ServiceHandleMessage(ctx *gin.Context)
ServiceHandleStreamHTTP(ctx *gin.Context)
}
type ResponseWriter ¶
type ResponseWriter struct {
Writer http.ResponseWriter
// contains filtered or unexported fields
}
func (*ResponseWriter) Flush ¶
func (r *ResponseWriter) Flush()
func (*ResponseWriter) Header ¶
func (r *ResponseWriter) Header() http.Header
func (*ResponseWriter) WriteHeader ¶
func (r *ResponseWriter) WriteHeader(statusCode int)
type SessionInfo ¶
Click to show internal directories.
Click to hide internal directories.