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