exchange

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHTTPClient

func BuildHTTPClient(options *Options) (*http.Client, error)

func BuildHTTPRequest

func BuildHTTPRequest(in *input.Input, options *Options) (*http.Request, error)

Types

type AuthOptions

type AuthOptions struct {
	Enabled  bool
	UserName string
	Password string
}

type Options

type Options struct {
	Timeout         time.Duration
	FollowRedirects bool
	Auth            AuthOptions
	SkipVerify      bool
	ForceHTTP1      bool
	CheckStatus     bool
	Transport       http.RoundTripper
}

Jump to

Keyboard shortcuts

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