Skip to content

Package overview

Go import paths and what each package contains.

Import pathPurpose
github.com/foomo/sesamy-go/pkg/sesamyCore Event[P], EventName constants, decode helpers.
github.com/foomo/sesamy-go/pkg/eventShared parameter types (Item, etc.) reused across providers.
github.com/foomo/sesamy-go/pkg/encoding/gtagGTag protocol encode/decode (form-encoded querystring).
github.com/foomo/sesamy-go/pkg/encoding/mpv2Measurement Protocol v2 payload types (JSON).
github.com/foomo/sesamy-go/pkg/encoding/gtagencodeConvert GTag → MPv2.
github.com/foomo/sesamy-go/pkg/encoding/mpv2encodeConvert MPv2 → GTag.
github.com/foomo/sesamy-go/pkg/httpCross-protocol EventHandler type.
github.com/foomo/sesamy-go/pkg/http/gtagGTag HTTP handler + middleware chain.
github.com/foomo/sesamy-go/pkg/http/mpv2MPv2 HTTP handler + middleware chain.
github.com/foomo/sesamy-go/pkg/clientDirect GTag/MPv2 clients for server-to-GA sends.
github.com/foomo/sesamy-go/pkg/collectHigh-level Collect server: handlers + forwarding to a tagging server.
github.com/foomo/sesamy-go/pkg/sessionParse _ga (client ID), _ga_<id> (session ID + number).
github.com/foomo/sesamy-go/pkg/utilsMiscellaneous helpers.
github.com/foomo/sesamy-go/pkg/provider/cookiebotCookiebot consent cookie type.
github.com/foomo/sesamy-go/pkg/provider/emarsysEmarsys typed events.
github.com/foomo/sesamy-go/pkg/provider/tracifyTracify typed events.
github.com/foomo/sesamy-go/integration/lokiPush events to Grafana Loki via protobuf + snappy.

Authoritative API reference: https://pkg.go.dev/github.com/foomo/sesamy-go.