Documentation ¶
Index ¶
- type Config
- type Server
- type SysBoard
- func (s *SysBoard) Disable() bool
- func (s *SysBoard) Enable() bool
- func (s *SysBoard) Enabled() bool
- func (s *SysBoard) GetHTTPHandlers() ([]*board.HTTPHandler, error)
- func (s *SysBoard) GetRPCHandler() (string, http.Handler)
- func (s *SysBoard) InBetween() bool
- func (s *SysBoard) Name() string
- func (s *SysBoard) Render(ctx context.Context, canvas board.Canvas) error
- func (s *SysBoard) ScrollMode() bool
- func (s *SysBoard) ScrollRender(ctx context.Context, canvas board.Canvas, padding int) (board.Canvas, error)
- func (s *SysBoard) SetStateChangeNotifier(st board.StateChangeNotifier)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled *atomic.Bool `json:"enabled"` BoardDelay string `json:"boardDelay"` OnTimes []string `json:"onTimes"` OffTimes []string `json:"offTimes"` // contains filtered or unexported fields }
Config ...
type Server ¶ added in v0.0.63
type Server struct {
// contains filtered or unexported fields
}
Server ...
type SysBoard ¶
SysBoard implements board.Board. Provides System info
func (*SysBoard) GetHTTPHandlers ¶
func (s *SysBoard) GetHTTPHandlers() ([]*board.HTTPHandler, error)
GetHTTPHandlers ...
func (*SysBoard) GetRPCHandler ¶ added in v0.0.63
GetRPCHandler ...
func (*SysBoard) ScrollRender ¶ added in v0.0.83
func (s *SysBoard) ScrollRender(ctx context.Context, canvas board.Canvas, padding int) (board.Canvas, error)
ScrollRender ...
func (*SysBoard) SetStateChangeNotifier ¶ added in v0.0.83
func (s *SysBoard) SetStateChangeNotifier(st board.StateChangeNotifier)
SetStateChangeNotifier ...
Click to show internal directories.
Click to hide internal directories.