Documentation ¶
Index ¶
- Variables
- func CleanTimeProviderConfig(data interface{}, name string) interface{}
- func GetProjectTimeLogs(config []byte, project string, startTime, endTime time.Time) ([]serializers.TimeLog, error)
- func RegisterTimeProvider(name string, newProvider TimeProvider)
- func RegisterTimeProviderDisplayName(name string, displayName string)
- type Connection
- type TimeProvider
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeProvidersDisplayNameMap = make(map[string]string)
TimeProvidersDisplayNameMap ...
Functions ¶
func CleanTimeProviderConfig ¶
func CleanTimeProviderConfig(data interface{}, name string) interface{}
CleanTimeProviderConfig ...
func GetProjectTimeLogs ¶
func GetProjectTimeLogs( config []byte, project string, startTime, endTime time.Time) ([]serializers.TimeLog, error)
GetProjectTimeLogs ...
func RegisterTimeProvider ¶
func RegisterTimeProvider(name string, newProvider TimeProvider)
RegisterTimeProvider ...
func RegisterTimeProviderDisplayName ¶
RegisterTimeProviderDisplayName ...
Types ¶
type Connection ¶
type Connection interface { GetProjectTimeLogs(project string, startTime time.Time, endTime time.Time) []serializers.TimeLog CleanTimeProviderConfig() interface{} }
Connection ...
func GetConnections ¶
func GetConnections(config []byte) (connections []Connection, err error)
GetConnections ...
type TimeProvider ¶
type TimeProvider interface {
New(config interface{}) Connection
}
TimeProvider ...
Click to show internal directories.
Click to hide internal directories.