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