Documentation
¶
Index ¶
- type PosthogAnalytics
- func (p *PosthogAnalytics) Close() error
- func (p *PosthogAnalytics) Count(ctx context.Context, resource analytics.Resource, action analytics.Action, ...)
- func (p *PosthogAnalytics) Enqueue(ctx context.Context, resource analytics.Resource, action analytics.Action, ...)
- func (p *PosthogAnalytics) Identify(userId uuid.UUID, properties analytics.Properties)
- func (p *PosthogAnalytics) Start()
- func (p *PosthogAnalytics) Tenant(tenantId uuid.UUID, data analytics.Properties)
- type PosthogAnalyticsOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PosthogAnalytics ¶
type PosthogAnalytics struct {
// contains filtered or unexported fields
}
func NewPosthogAnalytics ¶
func NewPosthogAnalytics(opts *PosthogAnalyticsOpts) (*PosthogAnalytics, error)
func (*PosthogAnalytics) Close ¶ added in v0.79.36
func (p *PosthogAnalytics) Close() error
func (*PosthogAnalytics) Count ¶ added in v0.79.36
func (p *PosthogAnalytics) Count(ctx context.Context, resource analytics.Resource, action analytics.Action, props ...analytics.Properties)
func (*PosthogAnalytics) Enqueue ¶
func (p *PosthogAnalytics) Enqueue(ctx context.Context, resource analytics.Resource, action analytics.Action, resourceId string, properties analytics.Properties)
func (*PosthogAnalytics) Identify ¶ added in v0.79.36
func (p *PosthogAnalytics) Identify(userId uuid.UUID, properties analytics.Properties)
func (*PosthogAnalytics) Start ¶ added in v0.79.36
func (p *PosthogAnalytics) Start()
func (*PosthogAnalytics) Tenant ¶
func (p *PosthogAnalytics) Tenant(tenantId uuid.UUID, data analytics.Properties)
Click to show internal directories.
Click to hide internal directories.