Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct { // Configure EPD Device string EPDService *epd.EPD // contains filtered or unexported fields }
Dashboard creates a custom Dashboard
func NewDashboard ¶
NewDashboard creates a custom dashboard
func (*Dashboard) DisplayImage ¶
DisplayImage accepts a path to image file and displays it on the screen
func (*Dashboard) DisplayText ¶
DisplayText accepts a string text and displays it on the screen
type EPDOptions ¶
type EPDOptions struct {
Device string
}
EPDOptions tells the dashboard how to connect to an Electronic Paper Display
type Options ¶
type Options func(d *Dashboard)
Options provides options for a new Dashboard
func WithTaskWarrior ¶
func WithTaskWarrior(taskWarriorOptions *TaskWarriorOptions) Options
WithTaskWarrior creates a custom dashboard with Task Warrior configured
func WithWeatherAPI ¶
func WithWeatherAPI(weatherAPIOptions *WeatherAPIOptions) Options
WithWeatherAPI creates a custom dashboard with Weather API configured
type TaskWarriorOptions ¶
type TaskWarriorOptions struct {
ConfigPath string
}
TaskWarriorOptions defines options for TaskWarrior
Click to show internal directories.
Click to hide internal directories.