Documentation
¶
Overview ¶
Package posthog provides a telemetry backend that sends events to PostHog's Capture API using the batch endpoint. It supports US/EU cloud instances and self-hosted deployments.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*config)
Option configures the PostHog backend.
func WithEndpoint ¶
WithEndpoint sets a custom endpoint for self-hosted PostHog. Takes precedence over WithInstance.
func WithInstance ¶
WithInstance sets the PostHog cloud instance. Default: InstanceUS.
Click to show internal directories.
Click to hide internal directories.