Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterRepository ¶
type CounterService ¶
type CounterService struct {
// contains filtered or unexported fields
}
func NewCounterService ¶
func NewCounterService(metrika CounterRepository, logger *zerolog.Logger) *CounterService
func (*CounterService) GetCounters ¶
func (ms *CounterService) GetCounters(ctx context.Context) (string, error)
type HitBqRepository ¶
type HitBqRepository interface { SendFromCS(ctx context.Context, bucket string, object string) (err error) DeleteByDateColumn(ctx context.Context, dateFrom, dateTo string) (err error) CreateTable(ctx context.Context, fieldPartition string, fieldClustering []string, schema any) (err error) TableExists(ctx context.Context) (err error) }
type HitCsRepository ¶
type HitRepository ¶
type HitService ¶
type HitService struct {
// contains filtered or unexported fields
}
func NewHitService ¶
func NewHitService(metrika HitRepository, cs HitCsRepository, bq HitBqRepository, dates metrika.DateRange, logger *zerolog.Logger) *HitService
func (HitService) PushHitsToBQ ¶
func (hs HitService) PushHitsToBQ(ctx context.Context, files []string) error
type VisitBqRepository ¶
type VisitBqRepository interface { SendFromCS(ctx context.Context, bucket string, object string) (err error) DeleteByDateColumn(ctx context.Context, dateFrom, dateTo string) (err error) CreateTable(ctx context.Context, fieldPartition string, fieldClustering []string, schema any) (err error) TableExists(ctx context.Context) (err error) }
type VisitCsRepository ¶
type VisitRepository ¶
type VisitService ¶
type VisitService struct {
// contains filtered or unexported fields
}
func NewVisitService ¶
func NewVisitService(metrika VisitRepository, cs VisitCsRepository, bq VisitBqRepository, dates metrika.DateRange, logger *zerolog.Logger) *VisitService
func (VisitService) PushVisitsToBQ ¶
func (vs VisitService) PushVisitsToBQ(ctx context.Context, files []string) error
Click to show internal directories.
Click to hide internal directories.