Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ServeWebUI bool `json:"serveWebUI"` HTTPListenPort int `json:"httpListenPort"` HardwareConfig *rgb.HardwareConfig `json:"hardwareConfig"` RuntimeOptions *rgb.RuntimeOptions `json:"runtimeOptions"` ScreenOffTimes []string `json:"screenOffTimes"` ScreenOnTimes []string `json:"screenOnTimes"` WebBoardWidth int `json:"webBoardWidth"` LaunchWebBoard bool `json:"launchWebBoard"` WebBoardUser string `json:"webBoardUser"` }
Config ...
type EmbedDir ¶ added in v0.0.7
type EmbedDir struct {
http.FileSystem
}
EmbedDir is a wrapper to return index.html by default
type SportsMatrix ¶
SportsMatrix controls the RGB matrix. It rotates through a list of given board.Board
func New ¶
func New(ctx context.Context, logger *zap.Logger, cfg *Config, canvases []board.Canvas, boards ...board.Board) (*SportsMatrix, error)
New ...
func (*SportsMatrix) GetImgCanvas ¶ added in v0.0.8
func (s *SportsMatrix) GetImgCanvas() (*imgcanvas.ImgCanvas, error)
GetImgCanvas checks the matrix for board.Canvas of type imgcanvas.ImgCanvas
Click to show internal directories.
Click to hide internal directories.