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

client

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MPL-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package client provides convenience wrapper for creating WebhookRelay OpenAPI client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) *apiclient.Openapi

New creates new webhookrelay client using defaults and overrides

Types

type Config

type Config struct {
	APIKey    string
	APISecret string

	// Override default host
	Host string

	// Override default base path
	BasePath string

	// Override default schemes
	Schemes []string
}

Config settings for client

Jump to

Keyboard shortcuts

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