zotyo/api

Provides api services

v0.0.1 2018-04-06 13:41 UTC

This package is not auto-updated.

Last update: 2024-11-05 09:53:16 UTC


README

The package offers generic code for bootstrapping an API

Response

The package would provide a response object

  • we want to guarantee a consistent response
  • sending response should be easy

Exception Handler

The package would provide an exception handler

  • the handler should transform exceptions into responses

Log

The package should be able to log requests/responses

  • log request
  • log response
  • escape sensitive data

Localization

The package should be able to configure the language of the api