Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

doozer-de/rest

Repository files navigation

rest

Build Status GoDoc

Package rest provides functionality to:

  • initiate a REST service,
  • register REST routes and handler,
  • handle REST requests and
  • handles CORS header.

Installation

go get github.com/doozer-de/rest

Usage

This library works well with restgen.

Limitations

Due to usage of golang.org/x/net/context in current Protobuf implementation func(ctx context.Context, w http.ResponseHandler, r *http.Request) signature is used for HTTP handlers instead for http.HandlerFunc.

Credits

Parts of HTTP router: Julien Schmidt github.com/julienschmidt/httprouter Servier based on: Christoph Seufert github.com/0x434d53/service. CORS based on: Jaana Burcu Dogan https://github.com/martini-contrib/cors

License

Copyright © 2016-2017 DOOZER REAL ESTATE SYSTEMS GMBH

Licensed under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages