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