stream

package
v0.0.0-...-30877e0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

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

func NewRequest

func NewRequest(client *http.Client, body io.Reader, headers http.Header) *Request

func (*Request) Stream

func (r *Request) Stream(ctx context.Context, method string, url string) (io.ReadCloser, error)

type Result

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

Result contains the result of calling Request.Do().

func (Result) Error

func (r Result) Error() error

func (Result) Raw

func (r Result) Raw() ([]byte, error)

Raw returns the raw result.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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