import "github.com/go-lo/fasthttp-client"
package fasthttpclient provides an implementation of a golo.Client using fasthttp to make calls, rather than the default net/http client. This may provide speedups for simple request sequences.
It can be instantiated as per:
import client "github.com/go-lo/fasthttp-client"
And then used as:
golo.Client = client.New()
type Client struct {
// contains filtered or unexported fields
}
Client wraps a fasthttp.Client, allowing for the casting of net/http types to fasthttp types.
func New() *Client
New returns a new, fully instantiated Client which can be dropped in to a go-lo schedule
func (c *Client) Do(in *http.Request) (out *http.Response, err error)
Do will action an http request and return stuff
Generated by godoc2md