Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

vmware-archive/goapiutils

Repository files navigation

#Go API Utils Build Status

This repo contains simple classes for creating Api Handlers to use with an http router like Gorilla Mux or chaining with Alice:

  • ApiHandler interface, containing just a Handle() method
  • ApiResponse wrapping a valid API response
  • ApiError wrapping an API error with an http status code
  • NotFoundHandler with a default handler for not found
  • Response Writer utilities to serialize the response into an http.ResponseWriter object

###Usage

TODO

###Testing

Tests written with Ginkgo, running on Travis CI.

About

Utility classes for working with go

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages