defaultapi

package
v0.40.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) api.API

New creates a new default API client wrapper

Types

type Config

type Config struct {
	AccessToken    string
	MasAccessToken string
	ApiURL         *url.URL
	ConsoleURL     *url.URL
	UserAgent      string
	HTTPClient     *http.Client
	Logger         logging.Logger
}

Jump to

Keyboard shortcuts

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