Versions in this module Expand all Collapse all v0 v0.1.0 Aug 3, 2025 Changes in this version + var ArtNetID = [8]byte + type ArtDmx struct + Data [512]byte + LengthH byte + LengthL byte + Net byte + Physical byte + ProtVerH byte + ProtVerL byte + Sequence byte + SubUni byte + func (p *ArtDmx) MarshalBinary() ([]byte, error) + func (p *ArtDmx) OpCode() OpCode + func (p *ArtDmx) UnmarshalBinary(data []byte) error + type ArtPoll struct + Priority byte + ProtVerH byte + ProtVerL byte + TalkToMe byte + func (p *ArtPoll) MarshalBinary() ([]byte, error) + func (p *ArtPoll) OpCode() OpCode + func (p *ArtPoll) UnmarshalBinary(data []byte) error + type ArtPollReply struct + BindIP [4]byte + BindIndex byte + EstaMan uint16 + Filler [26]byte + GoodInput [4]byte + GoodOutput [4]byte + IPAddress [4]byte + LongName [64]byte + MAC [6]byte + NetSwitch byte + NumPorts uint16 + Oem uint16 + Port uint16 + PortTypes [4]byte + ProgReport [64]byte + ShortName [18]byte + Spare [3]byte + Status1 byte + Status2 byte + Style byte + SubSwitch byte + SwMacro byte + SwRemote byte + SwVideo byte + Swin [4]byte + Swout [4]byte + UbeaVersion byte + VersionInfo uint16 + func (p *ArtPollReply) MarshalBinary() ([]byte, error) + func (p *ArtPollReply) OpCode() OpCode + func (p *ArtPollReply) UnmarshalBinary(data []byte) error + type Controller struct + func NewController(destIP string) (*Controller, error) + func (c *Controller) C() <-chan Packet + func (c *Controller) Close() + func (c *Controller) Send(packet Packet) error + type Header struct + ID [8]byte + OpCode OpCode + type OpCode uint16 + const OpAddress + const OpDirectory + const OpDirectoryReply + const OpDmx + const OpFirmwareMaster + const OpFirmwareReply + const OpInput + const OpIpProg + const OpIpProgReply + const OpMedia + const OpMediaContrlReply + const OpMediaControl + const OpMediaPatch + const OpNzs + const OpPoll + const OpPollReply + const OpRdm + const OpRdmSub + const OpSync + const OpTimecode + const OpTodControl + const OpTodData + const OpTodRequest + const OpTrigger + const OpVideoData + const OpVideoPalette + const OpVideoSetup + type Packet interface + MarshalBinary func() ([]byte, error) + OpCode func() OpCode + UnmarshalBinary func(data []byte) error + func NewPacket(opcode OpCode) (Packet, error) + func ToPacket(data []byte) (Packet, error)