Versions in this module Expand all Collapse all v1 v1.8.1 Jun 20, 2018 Changes in this version + const JSONContentType + var DefaultClient = &http.Client + var DefaultTransport = &http.Transport + func Get(url string) (resp *http.Response, err error) + func Head(url string) (resp *http.Response, err error) + func Post(url string, contentType string, body io.Reader) (resp *http.Response, err error) + func RealIP(r *http.Request) string + func WriteJSONResponse(w http.ResponseWriter, code int, v interface{}) error Incompatible versions in this module v2.5.0+incompatible Oct 19, 2018 v2.4.0+incompatible Oct 2, 2018 Other modules containing this package github.com/msales/pkg/v3 github.com/msales/pkg/v4