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