Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeProviderGSheet = "gsheet" TimeProviderGSheetDisplayName = "Google Timesheet" )
TimeProviderGSheet ...
View Source
const ( TimeProviderJira = "jira" TimeProviderJiraDisplayName = "JIRA" )
TimeProviderJira ...
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { Type string `json:"Type"` Username string `json:"Username"` Password string `json:"Password"` }
Credentials ...
type GSheetTimeProvider ¶
type GSheetTimeProvider struct { }
GSheetTimeProvider ...
func (*GSheetTimeProvider) New ¶
func (m *GSheetTimeProvider) New(config interface{}) timetracker.Connection
New ...
type GsheetConnection ¶
type GsheetConnection struct {
// contains filtered or unexported fields
}
GsheetConnection ...
func (*GsheetConnection) CleanTimeProviderConfig ¶
func (m *GsheetConnection) CleanTimeProviderConfig() interface{}
CleanTimeProviderConfig ...
func (*GsheetConnection) GetProjectTimeLogs ¶
func (m *GsheetConnection) GetProjectTimeLogs(project string, startTime time.Time, endTime time.Time) []serializers.TimeLog
GetProjectTimeLogs ...
type JIRAConfig ¶
type JIRAConfig struct { Credentials Credentials `json:"Credentials"` BaseURL string `json:"BaseURL"` BoardIds string `json:"BoardIds"` JQL string `json:"JQL"` EstimateField string `json:"EstimateField"` }
JIRAConfig ...
type JIRAConnection ¶
type JIRAConnection struct {
// contains filtered or unexported fields
}
JIRAConnection ...
func (*JIRAConnection) CleanTimeProviderConfig ¶
func (jiraConnection *JIRAConnection) CleanTimeProviderConfig() interface{}
CleanTimeProviderConfig ...
func (*JIRAConnection) GetProjectTimeLogs ¶
func (jiraConnection *JIRAConnection) GetProjectTimeLogs(project string, startTime time.Time, endTime time.Time) []serializers.TimeLog
GetProjectTimeLogs ...
type JiraTimeProvider ¶
type JiraTimeProvider struct { }
JiraTimeProvider ...
func (*JiraTimeProvider) New ¶
func (jiraConnection *JiraTimeProvider) New(config interface{}) timetracker.Connection
New ...
type JiraTimeResult ¶
type JiraTimeResult struct { Project string `json:"Project"` TaskID string `json:"TaskID"` Hours float64 `json:"Hours"` }
JiraTimeResult ...
type TimeResult ¶
type TimeResult struct { Project string `json:"Project"` TaskID string `json:"TaskID"` Hours float64 `json:"Hours"` }
TimeResult ...
Click to show internal directories.
Click to hide internal directories.