Documentation
¶
Index ¶
- Constants
- func TrackDailyAnalytics(Repo *Repo, cfg config.Configuration) func(context.Context, *asynq.Task) error
- type ActiveGroupAnalytics
- type Analytics
- type AnalyticsClient
- type Event
- type EventAnalytics
- type GroupAnalytics
- type MixPanelClient
- type NoopAnalyticsClient
- type OrganisationAnalytics
- type Repo
- type Tracker
- type UserAnalytics
Constants ¶
View Source
const ( DailyEventCount string = "Daily Event Count" DailyOrganisationCount string = "Daily Organization Count" DailyGroupCount string = "Daily Project Count" DailyActiveGroupCount string = "Daily Active Project Count" DailyUserCount string = "Daily User Count" MixPanelDevToken string = "YTAwYWI1ZWE3OTE2MzQwOWEwMjk4ZTA1NTNkNDQ0M2M=" MixPanelProdToken string = "YWViNzUwYWRmYjM0YTZmZjJkMzg2YTYyYWVhY2M2NWI=" PerPage int = 20 Page int = 1 )
Variables ¶
This section is empty.
Functions ¶
func TrackDailyAnalytics ¶
Types ¶
type ActiveGroupAnalytics ¶
type ActiveGroupAnalytics struct {
// contains filtered or unexported fields
}
func (*ActiveGroupAnalytics) Name ¶
func (a *ActiveGroupAnalytics) Name() string
func (*ActiveGroupAnalytics) Track ¶
func (a *ActiveGroupAnalytics) Track() error
type Analytics ¶
type Analytics struct {
Repo *Repo
// contains filtered or unexported fields
}
func (*Analytics) RegisterTrackers ¶
func (a *Analytics) RegisterTrackers()
type AnalyticsClient ¶
type EventAnalytics ¶
type EventAnalytics struct {
// contains filtered or unexported fields
}
func (*EventAnalytics) Name ¶
func (ea *EventAnalytics) Name() string
func (*EventAnalytics) Track ¶
func (ea *EventAnalytics) Track() error
type GroupAnalytics ¶
type GroupAnalytics struct {
// contains filtered or unexported fields
}
func (*GroupAnalytics) Name ¶
func (g *GroupAnalytics) Name() string
func (*GroupAnalytics) Track ¶
func (g *GroupAnalytics) Track() error
type MixPanelClient ¶
type MixPanelClient struct {
// contains filtered or unexported fields
}
func NewMixPanelClient ¶
func NewMixPanelClient(cfg config.Configuration) (*MixPanelClient, error)
type NoopAnalyticsClient ¶
type NoopAnalyticsClient struct{}
func NewNoopAnalyticsClient ¶
func NewNoopAnalyticsClient() *NoopAnalyticsClient
type OrganisationAnalytics ¶
type OrganisationAnalytics struct {
// contains filtered or unexported fields
}
func (*OrganisationAnalytics) Name ¶
func (o *OrganisationAnalytics) Name() string
func (*OrganisationAnalytics) Track ¶
func (o *OrganisationAnalytics) Track() error
type Repo ¶
type Repo struct {
ConfigRepo datastore.ConfigurationRepository
EventRepo datastore.EventRepository
GroupRepo datastore.GroupRepository
OrgRepo datastore.OrganisationRepository
UserRepo datastore.UserRepository
}
type UserAnalytics ¶
type UserAnalytics struct {
// contains filtered or unexported fields
}
func (*UserAnalytics) Name ¶
func (u *UserAnalytics) Name() string
func (*UserAnalytics) Track ¶
func (u *UserAnalytics) Track() error
Click to show internal directories.
Click to hide internal directories.