Versions in this module Expand all Collapse all v1 v1.0.0 Dec 26, 2020 Changes in this version + const CodeCreateRequestFailed + const CodeReadResponseFailed + const CodeSendRequestFailed + func BindHeader(log *logrus.Entry, r *http.Request, key string) (value string) + func BindJSON(log *logrus.Entry, r *http.Request, v interface{}) error + func BindRawData(log *logrus.Entry, r *http.Request) (body []byte, err error) + func Curl(method, url string, body []byte, header map[string][]string, ...) (code int, contentType string, buff []byte, err error) + func DefaultQuery(log *logrus.Entry, r *http.Request, key, def string) string + func SetRawLog(path string)