Documentation ¶
Index ¶
- type Config
- type MilightClient
- func (m *MilightClient) Brightness(id int, brightness uint8) error
- func (m *MilightClient) Color(id int, color uint8) error
- func (m *MilightClient) Disco(id int, speed string) error
- func (m *MilightClient) Night(id int) error
- func (m *MilightClient) Off(id int) error
- func (m *MilightClient) On(id int) error
- func (m *MilightClient) Rgb(id int, color colorful.Color) error
- func (m *MilightClient) White(id int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MilightClient ¶
type MilightClient struct {
Controller *limitless.LimitlessController
}
func NewClient ¶
func NewClient(conf Config) *MilightClient
func (*MilightClient) Brightness ¶
func (m *MilightClient) Brightness(id int, brightness uint8) error
func (*MilightClient) Night ¶
func (m *MilightClient) Night(id int) error
func (*MilightClient) Off ¶
func (m *MilightClient) Off(id int) error
func (*MilightClient) On ¶
func (m *MilightClient) On(id int) error
func (*MilightClient) Rgb ¶
func (m *MilightClient) Rgb(id int, color colorful.Color) error
func (*MilightClient) White ¶
func (m *MilightClient) White(id int) error
Click to show internal directories.
Click to hide internal directories.