body

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 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 Provider

type Provider interface {
	Provide() (body io.Reader, contentType string, err error)
}

func NewForm

func NewForm(body interface{}) Provider

func NewJson

func NewJson(body interface{}) Provider

func NewMultiPartFile

func NewMultiPartFile(data, files map[string]string) Provider

func NewURLForm

func NewURLForm(body url.Values) Provider

Jump to

Keyboard shortcuts

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