Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGlobalTokenStore ¶
func NewGlobalTokenStore(gatewayClient *gateway.Client) mcp.GlobalTokenStore
Types ¶
type AuditLogHandler ¶
type AuditLogHandler struct{}
func NewAuditLogHandler ¶
func NewAuditLogHandler() *AuditLogHandler
func (*AuditLogHandler) GetUsageStats ¶
func (h *AuditLogHandler) GetUsageStats(req api.Context) error
GetUsageStats handles GET /api/mcp-stats and /api/mcp-stats/{mcp_id}
func (*AuditLogHandler) ListAuditLogFilterOptions ¶
func (h *AuditLogHandler) ListAuditLogFilterOptions(req api.Context) error
func (*AuditLogHandler) ListAuditLogs ¶
func (h *AuditLogHandler) ListAuditLogs(req api.Context) error
ListAuditLogs handles GET /api/mcp-audit-logs and /api/mcp-audit-logs/{mcp_id}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(tokenService *jwt.TokenService, storageClient kclient.Client, mcpSessionManager *mcp.SessionManager, webhookHelper *mcp.WebhookHelper, globalTokenStore mcp.GlobalTokenStore, gatewayClient *gateway.Client, baseURL string) *Handler
Source Files
¶
Click to show internal directories.
Click to hide internal directories.