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