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