curl

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultAdapter = NewAdapter()

DefaultAdapter

Functions

func Execute

func Execute(req *http.Request) (string, error)

Execute return response as string

Types

type Adapter added in v0.9.0

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

Adapter buffer pool

func NewAdapter added in v0.9.0

func NewAdapter() *Adapter

NewAdapter

func (*Adapter) StringifyResponse added in v0.9.0

func (adapter *Adapter) StringifyResponse(response *http.Response) (string, error)

StringifyResponse return response body as string

Jump to

Keyboard shortcuts

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