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