restyadapter

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 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 added in v0.6.0

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

Types

type HTTPClientAdapter added in v0.6.0

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

func NewHTTPClientAdapter added in v0.6.0

func NewHTTPClientAdapter(client *http.Client) *HTTPClientAdapter

func (*HTTPClientAdapter) Request added in v0.6.0

type HTTPRequestAdapter added in v0.6.0

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

func (HTTPRequestAdapter) Delete added in v0.6.0

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

func (HTTPRequestAdapter) Get added in v0.6.0

func (HTTPRequestAdapter) Patch added in v0.6.0

func (HTTPRequestAdapter) Post added in v0.6.0

func (HTTPRequestAdapter) Put added in v0.6.0

func (HTTPRequestAdapter) SetBody added in v0.6.0

func (HTTPRequestAdapter) SetContext added in v0.6.0

func (HTTPRequestAdapter) SetHeaders added in v0.6.0

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