fetch

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(urlString string, options ...Option) (contents string, statusCode int, statusLine string)

Types

type Option

type Option func(context.Context, *http.Request) error

func Headers

func Headers(headers map[string]string) Option

func Writer

func Writer(writer io.Writer) Option

Jump to

Keyboard shortcuts

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