repository

package
v0.0.0-...-a65bbd9 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawCalendarEventRepository

type RawCalendarEventRepository interface {
	GetByProviderId(externalSystem, tenantName, usernameSource, calendarId, providerId string) (*entity.RawCalendarEvent, error)
	SaveOrUpdate(externalSystem, tenantName, usernameSource, calendarId, providerId, iCalUID, rawCalendarEvent string) error
	Update(entity entity.RawCalendarEvent) error
}

func NewRawCalendarEventRepository

func NewRawCalendarEventRepository(gormDb *gorm.DB) RawCalendarEventRepository

type Repositories

type Repositories struct {
	UserGCalImportStateRepository UserGCalImportStateRepository
	RawCalendarEventRepository    RawCalendarEventRepository
}

func InitRepos

func InitRepos(driver *neo4j.DriverWithContext, postgresDB *commonConfig.PostgresDB) *Repositories

type UserGCalImportStateRepository

type UserGCalImportStateRepository interface {
	GetGCalImportStateUsername(tenantName, username, calendarId string) (*entity.UserGCalImportState, error)
	UpdateGCalImportStateForUsername(tenantName, username, calendarId, syncToken, pageToken string, maxResults int64, timeMin, timeMax time.Time) error
}

func NewUserGCalImportStateRepository

func NewUserGCalImportStateRepository(gormDb *gorm.DB) UserGCalImportStateRepository

Jump to

Keyboard shortcuts

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