Versions in this module Expand all Collapse all v1 v1.0.0 May 24, 2019 Changes in this version + const Delete + const Get + const Patch + const Post + const Put + func AddParameters(baseURL string, queryParams map[string]string) string + func BuildHTTPRequest(request *Request) (*http.Request, error) + func EncodeURL(host string, format string, args ...interface{}) string + func SendPut(url, user, password string) error + type Request struct + Body []byte + Header map[string]string + Method string + Params map[string]string + Password string + URL string + User string + func NewRequest(url, method string, header map[string]string, params map[string]string, ...) *Request + func (req *Request) SetBasicAuth(user, password string) + type Response struct + Body []byte + Header map[string][]string + StatusCode int + func Send(request *Request) (*Response, error) + func SendGet(url, user, password string) (*Response, error)