Documentation ¶
Index ¶
- func ConvertEvents(events []msgraph.Event) gabby.Events
- func GetFileContentType(b []byte) string
- type API
- func (a *API) GetMe(ctx context.Context) (string, error)
- func (a *API) GetName(ctx context.Context, id string) (string, error)
- func (a *API) GetPhoto(ctx context.Context, id string) (*gabby.Photo, error)
- func (a *API) GetRecurringEvents(ctx context.Context) (gabby.Events, error)
- func (a *API) GetRecurringEventsWithInstancesForWeeks(ctx context.Context, weeks int) (gabby.Events, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertEvents ¶
ConvertEvents takes vendor specific calendar events and creates gabby.Events with enriched metadata
func GetFileContentType ¶
Types ¶
type API ¶
type API struct { HttpClient *http.Client Client *msgraph.GraphServiceRequestBuilder }
API represents the external calendar interface
func (*API) GetRecurringEvents ¶
GetRecurringEvents returns recurring events
Click to show internal directories.
Click to hide internal directories.