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

https://github.com/jkitajima/responder

Helper module to encode HTTP API responses
https://github.com/jkitajima/responder

api-design decoding encoding go json

Last synced: 2 months ago
JSON representation

Helper module to encode HTTP API responses

Awesome Lists containing this project

README

          

Responder




Gopher refining a speech text before the real presentation


Helper module to encode HTTP API responses

---

## Introduction

This module contains helper functions and structs to respond API calls in accordance to this [HTTP API Design](https://github.com/jkitajima/http_api_design).

## General Structure

There are three files:
- `decoder.go`: responsible for decoding incoming JSON API requests
- `response.go`: contains the structs explained by the API Design document
- `responder.go`: contains the functions that send the response to the client

## License

Distributed under the `GNU Lesser General Public License, version 2.1`. See LICENSE file for more information.