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 }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.