Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SettingsResponse ¶
type SettingsResponse struct {
DataDirectory string `json:"data_directory"`
DailyGoal int `json:"daily_goal"`
DefaultPomodoroDuration int `json:"default_pomodoro_duration"`
DefaultBreakDuration int `json:"default_break_duration"`
DefaultTags []string `json:"default_tags"`
}
SettingsResponse represents the current settings
type StatusResponse ¶
type StatusResponse struct {
Active bool `json:"active"`
Done bool `json:"done"`
Remaining string `json:"remaining,omitempty"`
Duration string `json:"duration,omitempty"`
Description string `json:"description,omitempty"`
Tags []string `json:"tags,omitempty"`
GoalComplete int `json:"goal_complete"`
GoalTotal int `json:"goal_total"`
}
StatusResponse represents the current Pomodoro status
Click to show internal directories.
Click to hide internal directories.