http

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "/v2/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	HeaderKey, HeaderValue, Method, Pass, URL, User string
}

func (*Auth) RequestAndResponse

func (a *Auth) RequestAndResponse(body io.Reader) (*http.Response, error)

func (*Auth) RequestAndResponseBody

func (a *Auth) RequestAndResponseBody(body io.Reader) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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