Documentation ¶
Overview ¶
Package posthog contains posthog helper functions and utilities
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPackageToPosthogProperties ¶
GetPackageToPosthogProperties can be used to parse out an http header and map the headers to posthog properties array
Types ¶
type Config ¶
type Config struct { // Enabled is a flag to enable or disable PostHog Enabled bool `json:"enabled" koanf:"enabled" default:"false"` // APIKey is the PostHog API Key APIKey string `json:"apiKey" koanf:"apiKey"` // Host is the PostHog API Host Host string `json:"host" koanf:"host" default:"https://app.posthog.com"` }
Config is the configuration for PostHog
Click to show internal directories.
Click to hide internal directories.