httpprotocol

package
v2.0.2-rc.9 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HTTPClient  = "http"
	HTTPSClient = "https"

	ProxyEnv = "D7Y_SOURCE_PROXY"
)

Variables

This section is empty.

Functions

func Adapter added in v2.0.2

func Adapter(request *source.Request) *source.Request

func NewHTTPSourceClient

func NewHTTPSourceClient(opts ...HTTPSourceClientOption) source.ResourceClient

NewHTTPSourceClient returns a new HTTPSourceClientOption.

Types

type HTTPSourceClientOption

type HTTPSourceClientOption func(p *httpSourceClient)

func WithHTTPClient

func WithHTTPClient(client *http.Client) HTTPSourceClientOption

Jump to

Keyboard shortcuts

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