Documentation
¶
Overview ¶
Copyright © 2025 Duncan de Boer <duncan.d.boer@gmail.com> This file is part of CLI application slack-luxafor.
Copyright © 2025 Duncan de Boer <duncan.d.boer@gmail.com> This file is part of CLI application slack-luxafor.
Copyright © 2025 Duncan de Boer <duncan.d.boer@gmail.com> This file is part of CLI application slack-luxafor.
Copyright © 2025 Duncan de Boer <duncan.d.boer@gmail.com> This file is part of CLI application slack-luxafor.
Index ¶
- func ConvertStatusToColor(s string) string
- func IsValidColor(s string) bool
- func IsValidStatus(s string) bool
- func MustGetenv(key string) (string, error)
- func ShutdownLight() error
- func UpdateSlackStatus(status, message string) error
- func UpdateStatusLight(color string) error
- type COMMAND
- type LED
- type Luxafor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertStatusToColor ¶
ConvertStatusToColor converts a status to a color.
func MustGetenv ¶
MustGetenv retrieves the value of the environment variable named by the key.
func ShutdownLight ¶
func ShutdownLight() error
func UpdateSlackStatus ¶
func UpdateStatusLight ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.