repository

package
v0.0.0-...-f6d2f13 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppInfoRepo

type AppInfoRepo struct {
	// contains filtered or unexported fields
}

func NewAppInfoRepo

func NewAppInfoRepo(db *gorm.DB) *AppInfoRepo

func (*AppInfoRepo) FindAll

func (r *AppInfoRepo) FindAll(ctx context.Context) helper.QueryResult

func (*AppInfoRepo) FindOneById

func (r *AppInfoRepo) FindOneById(ctx context.Context, id string) helper.QueryResult

type AppInfoRepository

type AppInfoRepository interface {
	FindAll(ctx context.Context) helper.QueryResult
	FindOneById(ctx context.Context, id string) helper.QueryResult
}

type PageViewRepo

type PageViewRepo struct {
	// contains filtered or unexported fields
}

func NewPageViewRepo

func NewPageViewRepo(db *gorm.DB) *PageViewRepo

func (*PageViewRepo) GetAllBySessionIds

func (r *PageViewRepo) GetAllBySessionIds(sessionIds []string) helper.QueryResult

type PageViewRepository

type PageViewRepository interface {
	GetAllBySessionIds(sessionIds []string) helper.QueryResult
}

type RepositoryContainer

type RepositoryContainer struct {
	AppInfoRepo  AppInfoRepository
	SessionsRepo SessionsRepository
	PageViewRepo PageViewRepository
}

func InitRepositories

func InitRepositories(db *gorm.DB) *RepositoryContainer

type SessionsRepo

type SessionsRepo struct {
	// contains filtered or unexported fields
}

func NewSessionsRepo

func NewSessionsRepo(db *gorm.DB) *SessionsRepo

func (*SessionsRepo) FindAllByApplication

func (r *SessionsRepo) FindAllByApplication(appIdentifier entity.ApplicationUniqueIdentifier, timeFilter model.TimeFilter,
	dataFilter []*model.AppSessionsDataFilter, page int, limit int) helper.QueryResult

type SessionsRepository

type SessionsRepository interface {
	FindAllByApplication(appIdentifier entity.ApplicationUniqueIdentifier, timeFilter model.TimeFilter,
		dataFilter []*model.AppSessionsDataFilter, page int, limit int) helper.QueryResult
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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