mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
18 lines
333 B
Go
18 lines
333 B
Go
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
|
|
}
|