+15
cmd/backfiller2/backfill.go
+15
cmd/backfiller2/backfill.go
···+return backfill.NewBackfiller("backfiller", store, h.HandleCreate, h.HandleUpdate, h.HandleDelete, opts)
+71
cmd/backfiller2/census.go
+71
cmd/backfiller2/census.go
···+func NewCensusService(cursorSvc *CursorService, backfillSvc *backfill.Backfiller) *CensusService {
+109
cmd/backfiller2/cursors.go
+109
cmd/backfiller2/cursors.go
···+if err := cs.store.Model(&cursorRecord{}).Where("key = ?", key).Update("val", value).Error; err != nil {+return fmt.Errorf("error updating cursor record: %+v: %w", cursorRecord{Key: key, Val: value}, err)
+31
cmd/backfiller2/database.go
+31
cmd/backfiller2/database.go
···
+25
cmd/backfiller2/firehose.go
+25
cmd/backfiller2/firehose.go
···+func NewFirehoseConnection(ctx context.Context, cursorSvc *CursorService) (*websocket.Conn, error) {
+55
cmd/backfiller2/handlers.go
+55
cmd/backfiller2/handlers.go
···+func (hs *HandlerService) HandleCreate(ctx context.Context, repo string, rev string, path string, rec *[]byte, cid *cid.Cid) error {+func (hs *HandlerService) HandleUpdate(ctx context.Context, repo string, rev string, path string, rec *[]byte, cid *cid.Cid) error {+func (hs *HandlerService) HandleDelete(ctx context.Context, repo string, rev string, path string) error {
+122
cmd/backfiller2/main.go
+122
cmd/backfiller2/main.go
···
+13
cmd/backfiller2/models.go
+13
cmd/backfiller2/models.go
···