httputilz

package
v1.0.4-0...-cd4b18d Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package httputilz contains all the funcionality related to common HTTP operations, dump, define methods...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllHTTPMethods

func AllHTTPMethods() []string

AllHTTPMethods contains all available HTTP methods

func DumpRequest

func DumpRequest(req *retryablehttp.Request) (string, error)

DumpRequest to string

func DumpResponse

func DumpResponse(resp *http.Response) (string, error)

DumpResponse to string

func ParseRequest

func ParseRequest(req string, unsafe bool) (method, path string, headers map[string]string, body string, err error)

ParseRequest from raw string

Types

This section is empty.

Jump to

Keyboard shortcuts

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