mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +08:00
add mcp (Model Context Protocol) support
This commit is contained in:
@@ -15,6 +15,9 @@ type MiddlewareHandlerFunc func(*WebContext)
|
||||
// ApiHandlerFunc represents the api handler function
|
||||
type ApiHandlerFunc func(*WebContext) (any, *errs.Error)
|
||||
|
||||
// JSONRPCApiHandlerFunc represents the api handler function
|
||||
type JSONRPCApiHandlerFunc func(*WebContext, *JSONRPCRequest) (any, *errs.Error)
|
||||
|
||||
// EventStreamApiHandlerFunc represents the event stream api handler function
|
||||
type EventStreamApiHandlerFunc func(*WebContext) *errs.Error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user