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