Help us shape the future of Go! Take the 2026 Go Developer Survey

httpconfig

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Timeout  time.Duration
	MaxBytes int64
	Headers  http.Header
	Client   *http.Client
}

type Reader

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

func New

func New(address string, opts Options) (*Reader, error)

func (*Reader) Read

func (p *Reader) Read(ctx context.Context) (data []byte, err error)

Jump to

Keyboard shortcuts

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