requests

package
v0.0.0-...-e3263a0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(path, user, pass string) error

func AuthenticatedDelete

func AuthenticatedDelete(path string) error

func AuthenticatedGet

func AuthenticatedGet(path string) ([]byte, error)

func AuthenticatedPost

func AuthenticatedPost(path string, body io.Reader) ([]byte, error)

func AuthenticatedPostWithHeaders

func AuthenticatedPostWithHeaders(path string, body io.Reader, headers map[string]string) ([]byte, error)

func AuthenticatedPut

func AuthenticatedPut(path string, body io.Reader) ([]byte, error)

func Post

func Post(path string, body io.Reader) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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