postgresrepo

package
v0.0.0-...-af7f365 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 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 SlackSyncRunRepository

type SlackSyncRunRepository interface {
	AutoMigrate() error
	Save(ctx context.Context, entity entity.SlackSyncRunStatus)
}

func NewSlackSyncRunRepository

func NewSlackSyncRunRepository(gormDb *gorm.DB) SlackSyncRunRepository

type SlackSyncSettingsRepository

type SlackSyncSettingsRepository interface {
	AutoMigrate() error
	GetChannelsToSync(ctx context.Context) ([]entity.SlackSyncSettings, error)
	SaveSyncRun(ctx context.Context, slackStngs entity.SlackSyncSettings, at time.Time) error
}

func NewSlackSyncSettingsRepository

func NewSlackSyncSettingsRepository(db *gorm.DB) SlackSyncSettingsRepository

type TenantSettingsRepository

type TenantSettingsRepository interface {
	FindForTenantName(ctx context.Context, tenantName string) helper.QueryResult
}

func NewTenantSettingsRepository

func NewTenantSettingsRepository(db *gorm.DB) TenantSettingsRepository

Jump to

Keyboard shortcuts

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