Documentation ¶
Index ¶
- func FmtDuration(d time.Duration) string
- func IsTrackingActive(u string) bool
- func SetFont(user, font string)
- func SetRefresh(user string, refresh int)
- func SetTheme(user, theme string)
- func Tracked(u string) string
- func TrackingActive(u string, p Project)
- func TrackingInactive(u string)
- type Config
- type DatabaseReportRequest
- type Duration
- type Durations
- type EditRecord
- type ErrorMessage
- type Page
- type Project
- type Record
- type Report
- type ReportRecord
- type ReportRequest
- type StartRequest
- type Status
- type StatusResponse
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FmtDuration ¶
func IsTrackingActive ¶
func SetRefresh ¶
func TrackingActive ¶
func TrackingInactive ¶
func TrackingInactive(u string)
Types ¶
type DatabaseReportRequest ¶
type EditRecord ¶
type ErrorMessage ¶
func (*ErrorMessage) Process ¶
func (e *ErrorMessage) Process(c *gin.Context)
type Page ¶
type Page struct { NeedsLogin bool Version string Theme string Font string Refresh int Tracking bool Projects []string Status StatusResponse DefaultDate string }
func GetUserPage ¶
type Report ¶
type Report struct { Project string Total string Items []ReportRecord }
type ReportRequest ¶
type StartRequest ¶
type StartRequest struct {
Project string
}
type StatusResponse ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.