request

package
v1.2.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNetworkerCraftedHTTPRequest added in v1.2.5

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

NewNetworkerCraftedHTTPRequest builds a new HTTP request.

Types

type Config added in v1.2.5

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