MCPcopy Create free account
hub / github.com/buggregator/server / EventService

Struct EventService

internal/server/http/event_service.go:18–24  ·  view source on GitHub ↗

EventService handles the store -> preview -> broadcast -> notify pipeline.

Source from the content-addressed store, hash-verified

16
17// EventService handles the store -> preview -> broadcast -> notify pipeline.
18type EventService struct {
19 store event.Store
20 hub *ws.Hub
21 registry *module.Registry
22 metrics *metrics.Collector
23 db *sql.DB // optional; used to auto-register new project keys
24}
25
26func NewEventService(store event.Store, hub *ws.Hub, registry *module.Registry, m *metrics.Collector, db *sql.DB) *EventService {
27 return &EventService{store: store, hub: hub, registry: registry, metrics: m, db: db}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected