MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / registerOperations

Method registerOperations

internal/httpapi/httpapi.go:361–377  ·  view source on GitHub ↗

registerOperations wires every ported Huma operation. As resources move off the legacy mux they are added here and removed from the legacy RegisterRoutes in the same commit.

()

Source from the content-addressed store, hash-verified

359// off the legacy mux they are added here and removed from the legacy
360// RegisterRoutes in the same commit.
361func (s *Server) registerOperations() {
362 s.registerInfo()
363 s.registerAgents()
364 s.registerMessages()
365 s.registerAttachments()
366 s.registerConversations()
367 s.registerAgentWrites()
368 s.registerAgentProtection()
369 s.registerDomains()
370 s.registerWebhooks()
371 s.registerEvents()
372 s.registerAccount()
373 s.registerAPIKeys()
374 s.registerOutbound()
375 s.registerHITL()
376 s.registerReviews()
377}
378
379// reqCtxKey carries the raw *http.Request through to Huma handlers so they
380// can reuse the injected Authenticator (which reads headers + cookies).

Callers 1

NewFunction · 0.95

Calls 15

registerInfoMethod · 0.95
registerAgentsMethod · 0.95
registerMessagesMethod · 0.95
registerAttachmentsMethod · 0.95
registerConversationsMethod · 0.95
registerAgentWritesMethod · 0.95
registerDomainsMethod · 0.95
registerWebhooksMethod · 0.95
registerEventsMethod · 0.95
registerAccountMethod · 0.95
registerAPIKeysMethod · 0.95

Tested by

no test coverage detected