Documentation
¶
Index ¶
Constants ¶
View Source
const ( UriBase = "https://api.track.toggl.com/api/v9" UriClients = "%s/workspaces/%s/clients" UriTimeEntries = "%s/me/time_entries" UriProject = "%s/workspaces/%s/projects" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProjectRequest ¶
type TogglClientGateway ¶
type TogglClientGateway struct { }
func (*TogglClientGateway) GetClients ¶
func (t *TogglClientGateway) GetClients(filter string) (toggl.TogglClients, error)
type TogglProjectGateway ¶
type TogglProjectGateway struct { }
func (*TogglProjectGateway) CreateProject ¶
func (t *TogglProjectGateway) CreateProject(projectName string, clientID int64) error
func (*TogglProjectGateway) GetProjects ¶
func (t *TogglProjectGateway) GetProjects(filter *toggl.GetProjectsOpts) (toggl.TogglProjects, error)
type TogglTimeEntriesGateway ¶
type TogglTimeEntriesGateway struct { }
func (*TogglTimeEntriesGateway) GetTimeEntries ¶
func (t *TogglTimeEntriesGateway) GetTimeEntries(start, end time.Time) (toggl.TogglTimeEntries, error)
Click to show internal directories.
Click to hide internal directories.