adapty

package
v0.11.695 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 4 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 {
	APIKey       string `yaml:"api_key" json:"api_key" mapstructure:"api_key"`
	LookbackDays *int   `yaml:"lookback_days,omitempty" json:"lookback_days,omitempty" mapstructure:"lookback_days"`
	Timezone     string `yaml:"timezone,omitempty" json:"timezone,omitempty" mapstructure:"timezone"`
}

Config describes credentials for an Adapty connection.

func (Config) GetIngestrURI

func (c Config) GetIngestrURI() (string, error)

GetIngestrURI builds the Adapty ingestr URI.

Jump to

Keyboard shortcuts

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