mixpanel

package
v0.11.488 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(c Config) (*Client, error)

func (*Client) GetIngestrURI

func (c *Client) GetIngestrURI() (string, error)

type Config

type Config struct {
	Username  string `yaml:"username" json:"username" mapstructure:"username"`
	Password  string `yaml:"password" json:"password" mapstructure:"password"`
	APISecret string `yaml:"api_secret,omitempty" json:"api_secret,omitempty" mapstructure:"api_secret"`
	ProjectID string `yaml:"project_id,omitempty" json:"project_id,omitempty" mapstructure:"project_id"`
	Server    string `yaml:"server,omitempty" json:"server,omitempty" mapstructure:"server"`
}

Config describes credentials for Mixpanel connection.

func (*Config) GetIngestrURI

func (c *Config) GetIngestrURI() string

GetIngestrURI builds the Mixpanel ingestr URI.

Jump to

Keyboard shortcuts

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