main
Raw Download raw file
 1package pipeline
 2
 3import (
 4	"context"
 5
 6	"github.com/internetarchive/gowarcprox/internal/models"
 7)
 8
 9// Processor is the interface for pipeline processors
10type Processor interface {
11	// Process handles a recorded URL
12	Process(ctx context.Context, ru *models.RecordedURL) error
13
14	// Name returns the processor name for logging
15	Name() string
16}