Documentation
¶
Index ¶
- func Discovery(cidr string) ([]string, error)
- func Listen(ip string) (net.Conn, error)
- type Config
- func (c *Config) AdjustBright(bright, duration int) (Response, error)
- func (c *Config) AdjustColorTemperature(bright, duration int) (Response, error)
- func (c *Config) Close()
- func (c *Config) CronAdd(timer int) (Response, error)
- func (c *Config) CronDelete() (Response, error)
- func (c *Config) CronGet() (Response, error)
- func (c *Config) GenerateRGB(red, green, blue int) int
- func (c *Config) GetProps(p ...interface{}) (Response, error)
- func (c *Config) SetAdjust(action, prop string) (Response, error)
- func (c *Config) SetBright(brightness int, effect string, duration int) (Response, error)
- func (c *Config) SetColorFlow(count, action int, exprs []FlowExpression) (Response, error)
- func (c *Config) SetColorTemp(temp int, effect string, duration int) (Response, error)
- func (c *Config) SetDefault() (Response, error)
- func (c *Config) SetHueSaturation(hue int, sat int, effect string, duration int) (Response, error)
- func (c *Config) SetName(name string) (Response, error)
- func (c *Config) SetPower(power bool, effect string, duration int) (Response, error)
- func (c *Config) SetRGB(red int, green int, blue int, effect string, duration int) (Response, error)
- func (c *Config) SetScene(scene Scene) (Response, error)
- func (c *Config) StopColorFlow() (Response, error)
- type FlowExpression
- type ListenResponse
- type Request
- type Response
- type Scene
Constants ¶
This section is empty.
Variables ¶
This section is empty.