httpclient

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClient

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

func New

func New(baseURL string, timeout time.Duration) *HttpClient

func (*HttpClient) Request

func (h *HttpClient) Request(path string, requestData RequestData) (io.ReadCloser, error)

type RequestData

type RequestData interface {
	ToMultipartForm() (multipartform.MultipartForm, error)
}

Jump to

Keyboard shortcuts

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