Files
showbridge-go/internal/common/routing.go
2026-03-09 14:13:17 -05:00

16 lines
332 B
Go

package common
import "context"
type RouteIO interface {
HandleInput(ctx context.Context, sourceId string, payload any) (bool, []RouteIOError)
HandleOutput(ctx context.Context, destinationId string, payload any) error
}
type RouteIOError struct {
Index int
OutputError error
ProcessError error
InputError error
}