mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-03 12:18:59 +00:00
move test implementations to a shared internal package
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package test
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/jwetzell/showbridge-go/internal/common"
|
||||
)
|
||||
|
||||
type TestProcessor struct {
|
||||
}
|
||||
|
||||
func (p *TestProcessor) Type() string {
|
||||
return "test"
|
||||
}
|
||||
func (p *TestProcessor) Process(ctx context.Context, wrappedPayload common.WrappedPayload) (common.WrappedPayload, error) {
|
||||
return wrappedPayload, nil
|
||||
}
|
||||
Reference in New Issue
Block a user