An open API service indexing awesome lists of open source software.

https://github.com/mauserzjeh/pingo

General purpose request library implemented in Go
https://github.com/mauserzjeh/pingo

api api-client go golang golang-library http request-library

Last synced: about 2 months ago
JSON representation

General purpose request library implemented in Go

Awesome Lists containing this project

README

        

# Pingo

![GitHub release (latest by date)](https://img.shields.io/github/v/release/mauserzjeh/pingo?style=flat-square)
[![Go Reference](https://pkg.go.dev/badge/github.com/mauserzjeh/pingo/v2.svg)](https://pkg.go.dev/github.com/mauserzjeh/pingo/v2)

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