Documentation ¶
Index ¶
- func Blue(rgbLEDs []RGBLED) error
- func CustomColor(rgbLEDs []RGBLED, color types.LEDColor) error
- func Error(rgbLEDs []RGBLED) error
- func Green(rgbLEDs []RGBLED) error
- func Logfile(rgbLEDs []RGBLED) error
- func Off(rgbLEDs []RGBLED) error
- func Purple(rgbLEDs []RGBLED) error
- func Red(rgbLEDs []RGBLED) error
- func Run(rgbLEDs []RGBLED) error
- func Sync(rgbLEDs []RGBLED) error
- func Turquoise(rgbLEDs []RGBLED) error
- func Warn(rgbLEDs []RGBLED) error
- func White(rgbLEDs []RGBLED) error
- func Yellow(rgbLEDs []RGBLED) error
- type DefaultRGBLED
- func (rgbled *DefaultRGBLED) Blue() error
- func (rgbled *DefaultRGBLED) Error() error
- func (rgbled *DefaultRGBLED) Green() error
- func (rgbled *DefaultRGBLED) Logfile() error
- func (rgbled *DefaultRGBLED) Off() error
- func (rgbled *DefaultRGBLED) On() error
- func (rgbled *DefaultRGBLED) Purple() error
- func (rgbled *DefaultRGBLED) Red() error
- func (rgbled *DefaultRGBLED) Run() error
- func (rgbled *DefaultRGBLED) Sync() error
- func (rgbled *DefaultRGBLED) Turquoise() error
- func (rgbled *DefaultRGBLED) Warn() error
- func (rgbled *DefaultRGBLED) White() error
- func (rgbled *DefaultRGBLED) Yellow() error
- type RGBLED
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomColor ¶
CustomColor makes all RGB-LEDs which are passed as parameters light up in custom color.
func Error ¶
Error makes all RGB-LEDs which are passed as parameters light up in their error specified color.
func Logfile ¶
Logfile makes all RGB-LEDs which are passed as parameters light up in their logfile specified color.
func Run ¶
Run makes all RGB-LEDs which are passed as parameters light up in their run specified color.
func Sync ¶
Sync makes all RGB-LEDs which are passed as parameters light up in their sync specified color.
func Warn ¶
Warn makes all RGB-LEDs which are passed as parameters light up in their warn specified color.
Types ¶
type DefaultRGBLED ¶
DefaultRGBLED is a RGBLED which implement all functions of the interface RGBLED
func (*DefaultRGBLED) Blue ¶
func (rgbled *DefaultRGBLED) Blue() error
Blue makes the RGBLED shine in blue
func (*DefaultRGBLED) Error ¶
func (rgbled *DefaultRGBLED) Error() error
Error makes the RGBLED shine in the error specified color
func (*DefaultRGBLED) Green ¶
func (rgbled *DefaultRGBLED) Green() error
Green makes the RGBLED shine in green
func (*DefaultRGBLED) Logfile ¶
func (rgbled *DefaultRGBLED) Logfile() error
Logfile makes the RGBLED shine in the logfile specified color
func (*DefaultRGBLED) Purple ¶
func (rgbled *DefaultRGBLED) Purple() error
Purple makes the RGBLED shine in purple
func (*DefaultRGBLED) Red ¶
func (rgbled *DefaultRGBLED) Red() error
Red makes the RGBLED shine in red
func (*DefaultRGBLED) Run ¶
func (rgbled *DefaultRGBLED) Run() error
Run makes the RGBLED shine in the run specified color
func (*DefaultRGBLED) Sync ¶
func (rgbled *DefaultRGBLED) Sync() error
Sync makes the RGBLED shine in the sync specified color
func (*DefaultRGBLED) Turquoise ¶
func (rgbled *DefaultRGBLED) Turquoise() error
Turquoise makes the RGBLED shine in turquoise
func (*DefaultRGBLED) Warn ¶
func (rgbled *DefaultRGBLED) Warn() error
Warn makes the RGBLED shine in the warn specified color
func (*DefaultRGBLED) White ¶
func (rgbled *DefaultRGBLED) White() error
White makes the RGBLED shine in white
func (*DefaultRGBLED) Yellow ¶
func (rgbled *DefaultRGBLED) Yellow() error
Yellow makes the RGBLED shine in yellow
type RGBLED ¶
type RGBLED interface { Blue() error Green() error Purple() error Red() error Turquoise() error White() error Yellow() error Error() error Logfile() error Run() error Sync() error Warn() error On() error Off() error }
RGBLED is an interface that discribes all needed functions for a RGBLED