Skip to content

General purpose request library implemented in Go

License

Notifications You must be signed in to change notification settings

mauserzjeh/pingo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pingo

GitHub release (latest by date) Go Reference

Pingo is a general purpose, high level request library implemented in Go. It is built on top of the standard net/http package and aims to make working with requests more convenient.

Features

  • Zero dependencies
  • Chainable API
  • Context support
  • Logging and debugging options
  • Reusable clients
  • Tweak options both at client and request level
  • Convenient methods to send raw, JSON, XML, form URL encoded, multipart form requests or provide a callback function to create the request body
  • Async requests
  • Easily access response headers and body
  • Streamed response support

Installation

go get -u github.com/mauserzjeh/pingo/v2

Tests

go test -v

Usage

Check the documentation and tests for available methods and examples