mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-10 07:29:25 +00:00
add id getter for processors
This commit is contained in:
@@ -49,6 +49,10 @@ func (ts *TimeSleep) Process(ctx context.Context, wrappedPayload common.WrappedP
|
||||
return wrappedPayload, nil
|
||||
}
|
||||
|
||||
func (ts *TimeSleep) Id() string {
|
||||
return ts.config.Id
|
||||
}
|
||||
|
||||
func (ts *TimeSleep) Type() string {
|
||||
return ts.config.Type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user