Documentation ¶
Index ¶
- type Clock
- func (c *Clock) Cleanup()
- func (c *Clock) Disable()
- func (c *Clock) Enable()
- func (c *Clock) Enabled() bool
- func (c *Clock) GetHTTPHandlers() ([]*board.HTTPHandler, error)
- func (c *Clock) GetRPCHandler() (string, http.Handler)
- func (c *Clock) HasPriority() bool
- func (c *Clock) Name() string
- func (c *Clock) Render(ctx context.Context, canvas board.Canvas) error
- func (c *Clock) ScrollMode() bool
- type Config
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
Clock implements board.Board
func (*Clock) GetHTTPHandlers ¶
func (c *Clock) GetHTTPHandlers() ([]*board.HTTPHandler, error)
GetHTTPHandlers ...
func (*Clock) GetRPCHandler ¶ added in v0.0.63
GetRPCHandler ...
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 is a Clock configuration
Click to show internal directories.
Click to hide internal directories.