client

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Administrators   *admin.Client
	Containers       *container.Client
	Destinations     *destination.Client
	Hubs             *hub.Client
	Organizations    *organization.Client
	Recipients       *recipient.Client
	Tasks            *task.Client
	Teams            *team.Client
	Webhooks         *webhook.Client
	Workers          *worker.Client
	ManifestProvider *manifest.Client
}

func New

func New(apiKey string, params *InitParams) (*API, error)

type InitParams

type InitParams struct {
	// timeout used for http client in milliseconds
	UserTimeout int64
	BaseUrl     string
	Path        string
	ApiVersion  string
}

InitParams accepts user provided overrides to be set on Config

Jump to

Keyboard shortcuts

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