Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAnalyticsErr = fmt.Errorf("analytics error") ErrInvalidPageSize = errors.Wrap(ErrAnalyticsErr, "invalid page size") ErrInvalidKey = errors.Wrap(ErrAnalyticsErr, "invalid key") )
Functions ¶
This section is empty.
Types ¶
type AnalyticsRepository ¶
type AnalyticsRepository interface { QueryTopResultsByKey(ctx context.Context, params QueryTopResultsByKeyParams) (map[string]interface{}, error) ParseAndStore(context.Context, uuid.UUID, string) error }
func NewAnalyticsRepository ¶
func NewAnalyticsRepository(d db.Analytics) AnalyticsRepository
Click to show internal directories.
Click to hide internal directories.