Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 533 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 533 Bytes

fastreq

Fast, convenient and simple HTTP client based on fasthttp for Go (inspired by Fiber and fasthttp)

Features

  • Extreme performance
  • Low memory footprint
  • Middleware support

Installation

go get github.com/wnanbei/fastreq

import "github.com/wnanbei/fastreq"

Usage

import "github.com/wnanbei/fastreq"

resp, err := fastreq.Get("https://hello-world", fastreq.NewArgs())
if err != nil {
    panic(err)
}
fmt.Println(resp.BodyString())

BenchMark