adaptor

package
v0.0.0-...-4e8b46a Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FastHTTPRequester

type FastHTTPRequester struct {
	FullUrl string
	Host    string
	Timeout time.Duration
	Url     string
}

func (*FastHTTPRequester) FastHttpResponse2NetHttpResponse

func (r *FastHTTPRequester) FastHttpResponse2NetHttpResponse(fastResponse *fasthttp.Response) *http.Response

func (*FastHTTPRequester) NetHttp2FastHttpWrapper

func (r *FastHTTPRequester) NetHttp2FastHttpWrapper(req *http.Request) (*http.Response, error)

func (*FastHTTPRequester) NetHttpRequest2FastHttpRequest

func (r *FastHTTPRequester) NetHttpRequest2FastHttpRequest(req *http.Request) *fasthttp.Request

func (*FastHTTPRequester) URL

func (r *FastHTTPRequester) URL() string

Jump to

Keyboard shortcuts

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