repository

package
v0.0.0-...-21f8c24 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresRepositories

type PostgresRepositories struct {
	PostgresRepositories *postgresRepository.Repositories
	Neo4jRepositories    *neo4jrepository.Repositories

	AuthRepositories *authRepository.Repositories

	TenantSettingsRepository TenantSettingsRepository
}

func InitRepositories

func InitRepositories(cfg *config.Config, db *gorm.DB, driver *neo4j.DriverWithContext) *PostgresRepositories

type TenantSettingsRepository

type TenantSettingsRepository interface {
	FindForTenantName(tenantName string) helper.QueryResult
	Save(tenantSettings *entity.TenantSettings) helper.QueryResult
	CheckKeysExist(tenantName string, keyName []string) (bool, error)
}

func NewTenantSettingsRepository

func NewTenantSettingsRepository(db *gorm.DB) TenantSettingsRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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