httputils

package
v0.0.0-...-5e0bd72 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRequest

func CreateRequest(method string, path string, body []byte) (request *http.Request, err error)

CreateRequest returns a new HTTP request

func SendRequest

func SendRequest(request *http.Request) ([]byte, error)

SendRequest sends the given request and verify the response's status code

Types

This section is empty.

Jump to

Keyboard shortcuts

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