nativeadapter

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPRequestAdapterResponse

func HTTPRequestAdapterResponse(target executorhttp.ResponseWriter, source *http.Response, err error) error

Types

type HTTPClientAdapter

type HTTPClientAdapter struct {
	// contains filtered or unexported fields
}

func NewHTTPClientAdapter

func NewHTTPClientAdapter(client *http.Client) *HTTPClientAdapter

func (*HTTPClientAdapter) Request

type HTTPRequestAdapter

type HTTPRequestAdapter struct {
	// contains filtered or unexported fields
}

func (HTTPRequestAdapter) Delete

func (r HTTPRequestAdapter) Delete(target executorhttp.ResponseWriter, url *url.URL) error

func (HTTPRequestAdapter) Get

func (HTTPRequestAdapter) Patch

func (HTTPRequestAdapter) Post

func (HTTPRequestAdapter) Put

func (HTTPRequestAdapter) SetBody

func (HTTPRequestAdapter) SetContext

func (HTTPRequestAdapter) SetHeaders

func (r HTTPRequestAdapter) SetHeaders(headers map[string]string) executorhttp.Requester

Jump to

Keyboard shortcuts

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