Documentation ¶
Index ¶
- type Calendar
- func (c *Calendar) CreateEvent(ctx context.Context, calendarId string, event *gCalendar.Event, ...) error
- func (c *Calendar) CreateWatchChannel(ctx context.Context, calendarId, webhookPath string, token *oauth2.Token) (*gCalendar.Channel, error)
- func (c *Calendar) DeleteWatchChannel(ctx context.Context, channelId, resourceId string, token *oauth2.Token) error
- func (c *Calendar) ExchangeCode(ctx context.Context, code string) (*oauth2.Token, error)
- func (c *Calendar) GetAuthURL(state string) string
- func (c *Calendar) GetCalendarsList(ctx context.Context, token *oauth2.Token) ([]*gCalendar.CalendarListEntry, error)
- func (c *Calendar) GetEventByID(ctx context.Context, eventId string, calendarId string, token *oauth2.Token) (*gCalendar.Event, error)
- func (c *Calendar) GetEventsList(ctx context.Context, calendarId, start, end string, maxResults int64, ...) ([]*gCalendar.Event, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calendar ¶
type Calendar struct {
// contains filtered or unexported fields
}
func NewCalendar ¶
func (*Calendar) CreateEvent ¶
func (*Calendar) CreateWatchChannel ¶
func (*Calendar) DeleteWatchChannel ¶
func (*Calendar) ExchangeCode ¶
func (*Calendar) GetAuthURL ¶
func (*Calendar) GetCalendarsList ¶
func (*Calendar) GetEventByID ¶
Click to show internal directories.
Click to hide internal directories.