analytics2posthog

package module
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 5 Imported by: 0

README

analytics2posthog

Documentation

Index

Constants

View Source
const DefaultClientID = "default"

Variables

This section is empty.

Functions

func NewSender

func NewSender(logger Logger, clients ...Client) (analytics.Sender, error)

Types

type Client

type Client struct {
	ID string
	//
	ApiKey string
	Config posthog.Config
}

type Logger

type Logger interface {
	Warningf(ctx context.Context, format string, args ...any)
	Errorf(ctx context.Context, format string, args ...any)
}

Jump to

Keyboard shortcuts

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