modulepackage
0.28.0
Repository: https://github.com/xplorfin/fasthttp2curl.git
Documentation: pkg.go.dev
# README
Fast Http To Curl
Supports net/http and fasthttp
Allows you to transform net/http and fasthttp to curl for debugging. This package is based on moul's http to curl command except it supports fast http and http. This package is tested for parity against moul/http
License
The original project is licensed by Manfred Touron under the Apache License, Version 2.0 (LICENSE-APACHE
) or the MIT license (LICENSE-MIT
), at your option. See the COPYRIGHT
file for more details. Licenses are included in the directory
# Functions
transofrm a fast http request to a list of http headers.
GetCurlCommand returns a CurlCommand corresponding to an http.Request.
convert a fast http request object to a curl command.
# Type aliases
CurlCommand contains exec.Command compatible slice + helpers.