Help us shape the future of Go! Take the 2026 Go Developer Survey

posthog

package
v0.77.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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) Enqueue

func (p *PosthogAnalytics) Enqueue(event string, userId string, tenantId *string, set map[string]interface{}, metadata map[string]interface{})

func (*PosthogAnalytics) Tenant

func (p *PosthogAnalytics) Tenant(tenantId string, data map[string]interface{})

type PosthogAnalyticsOpts

type PosthogAnalyticsOpts struct {
	ApiKey   string
	Endpoint string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL