response

package
v0.1.1-alpha23 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

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

func NewResponse

func NewResponse(processedBody, rawBody interface{}, r *http.Response) *Response

func (*Response) Error

func (r *Response) Error() string

func (*Response) ExtractElement

func (r *Response) ExtractElement(e httpelement.HTTPElement) (interface{}, error)

func (*Response) GetBody

func (r *Response) GetBody() interface{}

func (*Response) GetHttpResponse

func (r *Response) GetHttpResponse() *http.Response

func (*Response) GetProcessedBody

func (r *Response) GetProcessedBody() interface{}

func (*Response) String

func (r *Response) String() string

Jump to

Keyboard shortcuts

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