mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 13:25:40 +00:00
fix RouteIO interface
This commit is contained in:
@@ -31,7 +31,7 @@ type RouteIOError struct {
|
|||||||
|
|
||||||
type RouteIO interface {
|
type RouteIO interface {
|
||||||
HandleInput(ctx context.Context, sourceId string, payload any) (bool, []RouteIOError)
|
HandleInput(ctx context.Context, sourceId string, payload any) (bool, []RouteIOError)
|
||||||
HandleOutput(ctx context.Context, destinationId string, payload any) []error
|
HandleOutput(ctx context.Context, destinationId string, payload any) error
|
||||||
}
|
}
|
||||||
|
|
||||||
type Route interface {
|
type Route interface {
|
||||||
|
|||||||
Reference in New Issue
Block a user