Versions in this module Expand all Collapse all v0 v0.2.1 Jul 18, 2026 v0.1.0 Jun 7, 2026 Changes in this version + type Client struct + func New(opts Options) *Client + func (c *Client) Flush(ctx context.Context) error + func (c *Client) Identify(ctx Context) + func (c *Client) Shutdown(ctx context.Context) error + func (c *Client) Track(e Event) + type Context struct + Traits map[string]any + UserID string + type Event struct + EventType string + OccurredAt string + Payload map[string]any + UserID string + type Options struct + APIKey string + APIURL string + BatchSize int + FlushEvery time.Duration + Logger *log.Logger + MaxRetries int