bodyutil

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package bodyutil implements functions for working with body of http request/response.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadRequestBody

func ReadRequestBody(req *http.Request) ([]byte, error)

ReadRequestBody returns body of req.

func ReadResponseBody

func ReadResponseBody(resp *http.Response) ([]byte, error)

ReadResponseBody returns body of req.

Types

This section is empty.

Jump to

Keyboard shortcuts

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