Help us shape the future of Go! Take the 2026 Go Developer Survey

deel

package
v0.11.787 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 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 is a Deel organization API token, sent as a bearer token. Give the
	// token the read scopes needed by the tables you plan to ingest. Required.
	APIKey string
	// Environment selects which Deel environment to reach, production or sandbox.
	// Optional, defaults to production. Sandbox tokens are separate from
	// production tokens.
	Environment string
}

Config holds the credentials required to connect to the Deel REST API.

func (*Config) GetIngestrURI

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

GetIngestrURI builds the ingestr source URI for Deel. Format: deel://?api_key=<api_key>[&environment=<production|sandbox>]

Jump to

Keyboard shortcuts

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