exchange

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: MIT Imports: 17 Imported by: 2

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 added in v0.4.0

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
}

Jump to

Keyboard shortcuts

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