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:
@@ -86,6 +86,10 @@ func (smg *StructMethodGet) Process(ctx context.Context, wrappedPayload common.W
|
||||
return wrappedPayload, nil
|
||||
}
|
||||
|
||||
func (smg *StructMethodGet) Id() string {
|
||||
return smg.config.Id
|
||||
}
|
||||
|
||||
func (smg *StructMethodGet) Type() string {
|
||||
return smg.config.Type
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user