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