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