Versions in this module Expand all Collapse all v1 v1.1.0 May 13, 2022 Changes in this version + func AllowMethod(expect string, got string) bool + func BindBody(c echo.Context, d interface{}) error + func BodyToQuery(data string) string + func DoPoxy(ctx context.Context, req *permit.Request, p *Proxys, modify ModifyResponse) error + func GetRequestArgs(c echo.Context, d interface{}) error + func HTTPRequest(reqURL, method, data string, header http.Header, owner string) (string, *http.Response, error) + func IsQueryMethod(method string) bool + func MakeRefer(req *http.Request) string + func ObjectBodyToQuery(d interface{}) string + func QueryToBody(query url.Values, pretty bool) string + func Transport(conf *config.Config) *http.Transport + type ModifyResponse func(*http.Response) error + type Proxys struct + Transport http.RoundTripper + Url *url.URL