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