Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.27 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.27 KB

httpwrapper (work in progress)

remote http get wrapper

Build Status - Master
Build Status - Development

Go Report Card

TODO

two timeouts context timeout (http call should be canned if parent context is cancelled) http timeout (session call)
POST/PUT/OPTION

  • implement transport timeout (http.Client.transport)
  • implenent POST, PUT, and multi-part upload
  • implement OPTION
  • implement better JSON validation
  • custom header

Install

Supports Go 1.13 - 1.14.1

Using go modules (aka. go mod)

In your go files, simply use:

import "github.com/Greyeye/httpparser"

Then next go mod tidy or go test invocation will automatically populate your go.mod with the last httpparser release.

Using $GOPATH

go get github.com/Greyeye/httpparser

automatically downloads to $GOPATH/src. Then in your go files use:

import "github.com/Greyeye/httpparser"