Documentation ¶
Overview ¶
Package shared contains shared elements of the LIFX LAN protocol version 2.
This package is not designed to be accessed by end users, all interaction should occur via the Client in the golifx package.
Index ¶
Constants ¶
View Source
const ( DefaultPort = 56700 RateLimit = time.Second / 20 // Max 20 packets per second )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventBroadcastSent ¶ added in v0.3.3
type EventBroadcastSent struct{}
EventBroadcastSent is emitted when a request is sent via broadcast, to allow synchronization of rate limiting
type EventRequestSent ¶ added in v0.3.3
type EventRequestSent struct{}
EventRequestSent is emitted when a request is sent by a device, to allow synchronization of rate limiting
Click to show internal directories.
Click to hide internal directories.