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