Documentation ¶
Index ¶
- type FakeCalendar
- func (gc *FakeCalendar) GetAuthLink(state string) string
- func (gc *FakeCalendar) GetCalendarEvents(token *oauth2.Token, calendarID string, ...) ([]*calendar.Event, error)
- func (gc *FakeCalendar) GetCalendars(token *oauth2.Token) ([]*calendar.CalendarListEntry, error)
- func (gc *FakeCalendar) GetStateCodeFromGin(c *gin.Context) (string, string, error)
- func (gc *FakeCalendar) GetTokenFromCode(code string) (*oauth2.Token, error)
- func (gc *FakeCalendar) RefreshToken(token *oauth2.Token) (bool, *oauth2.Token, error)
- func (gc *FakeCalendar) UpsertEvent(token *oauth2.Token, calendarID string, event *calendar.Event) (*calendar.Event, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCalendar ¶
func (*FakeCalendar) GetAuthLink ¶
func (gc *FakeCalendar) GetAuthLink(state string) string
func (*FakeCalendar) GetCalendarEvents ¶
func (gc *FakeCalendar) GetCalendarEvents(token *oauth2.Token, calendarID string, args *hitrixcalendar.GetCalendarEventsArgs) ([]*calendar.Event, error)
func (*FakeCalendar) GetCalendars ¶
func (gc *FakeCalendar) GetCalendars(token *oauth2.Token) ([]*calendar.CalendarListEntry, error)
func (*FakeCalendar) GetStateCodeFromGin ¶
func (*FakeCalendar) GetTokenFromCode ¶
func (gc *FakeCalendar) GetTokenFromCode(code string) (*oauth2.Token, error)
func (*FakeCalendar) RefreshToken ¶
func (*FakeCalendar) UpsertEvent ¶
func (gc *FakeCalendar) UpsertEvent(token *oauth2.Token, calendarID string, event *calendar.Event) (*calendar.Event, error)
Click to show internal directories.
Click to hide internal directories.