request

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) (*http.Request, error)

New builds a new HTTP request.

Types

type Config

type Config struct {
	Headers   []string
	URL       string
	Method    string
	Body      string
	FilePaths string
}

Config is used to determine how we build an HTTP request.

Jump to

Keyboard shortcuts

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