Documentation ¶
Index ¶
- Constants
- type CalendarAPI
- func (zep *CalendarAPI) EventsInTimeframe(ctx context.Context, start time.Time, end time.Time) ([]models.Event, error)
- func (zep *CalendarAPI) GetCalendarID() string
- func (zep *CalendarAPI) Initialize(ctx context.Context, calendarID string, config map[string]interface{}) error
- func (zep *CalendarAPI) ListEvents(from, to time.Time) ([]Event, error)
- func (zep *CalendarAPI) Name() string
- type Event
Constants ¶
View Source
const (
DateFormat = "02.01.2006"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CalendarAPI ¶
type CalendarAPI struct {
// contains filtered or unexported fields
}
func (*CalendarAPI) EventsInTimeframe ¶
func (*CalendarAPI) GetCalendarID ¶ added in v0.8.0
func (zep *CalendarAPI) GetCalendarID() string
func (*CalendarAPI) Initialize ¶
func (*CalendarAPI) ListEvents ¶
func (zep *CalendarAPI) ListEvents(from, to time.Time) ([]Event, error)
ListEvents returns all events of the given calendar of a user (if it exists).
func (*CalendarAPI) Name ¶
func (zep *CalendarAPI) Name() string
Click to show internal directories.
Click to hide internal directories.