rename files in common package

This commit is contained in:
Joel Wetzell
2026-03-09 14:13:17 -05:00
parent 536bc2af4e
commit 65476d5ecc
2 changed files with 8 additions and 7 deletions

View File

@@ -1,22 +0,0 @@
package common
import "context"
type contextKey string
const RouterContextKey contextKey = contextKey("router")
const SourceContextKey contextKey = contextKey("source")
const ModulesContextKey contextKey = contextKey("modules")
const SenderContextKey contextKey = contextKey("sender")
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
}