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
Click to show internal directories.
Click to hide internal directories.