Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MicrosoftTaskProvider ¶
type MicrosoftTaskProvider struct{}
type Task ¶
type TaskProvider ¶
type TaskProvider interface { // Initialise the task provider with its specific configuration Init(options ...func(*TaskProvider)) *TaskProvider GetTasks(status string) ([]*Task, error) }
Task providers can be Microsoft, Google, etc. Microsoft provides tasks through the Microsoft Graph API and Google through the Google Tasks API Each of these providers will have their own implementation of the TaskProvider interface
type TaskServices ¶
type TaskServices interface { // Retrieve all the uncompleted tasks GetAllUncompleted(taskGateway TaskProvider) ([]*Task, error) MarkAsCompleted([]*Task) error }
Click to show internal directories.
Click to hide internal directories.