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