service

package
v0.0.0-...-dcbdc3c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OauthCalendarService

type OauthCalendarService interface {
	GetAuthURL(ctx context.Context) (url string, state string, err error)
	ExchangeToken(ctx context.Context, code string) (*oauth2.Token, error)
	GetOrCreateUserByCode(ctx context.Context, code string, user *entity.User) (*entity.User, error)
	GetPrimaryCalendar(ctx context.Context, oui entity.OauthUserInfo, timeMin *time.Time, timeMax *time.Time) (entity.Calendar, error)
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL