Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultPort = 9123 LightEndpoint = "http://%s:%d/elgato/lights" ContentTypeJSON = "application/json" )
View Source
const ( MDNSService = "_elg._tcp" NameRingLight = "Elgato Ring Light" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Device ¶
func FindDevices ¶
type LightOptions ¶
type LightOptions struct { On uint8 `json:"on"` Brightness uint8 `json:"brightness"` Temperature uint16 `json:"temperature"` }
func (*LightOptions) Toggle ¶
func (lo *LightOptions) Toggle()
Click to show internal directories.
Click to hide internal directories.