go-json-rest-examples

module
v2.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2014 License: MIT

README

Examples for go-json-rest

Go-Json-Rest is a thin layer on top of net/http that helps building RESTful JSON APIs easily. See the Github repo here: https://github.com/ant0ine/go-json-rest

Copyright (c) 2013-2014 Antoine Imbert

MIT License

Analytics

Directories

Path Synopsis
Demonstrate how to setup AuthBasicMiddleware as a pre-routing middleware.
Demonstrate how to setup AuthBasicMiddleware as a pre-routing middleware.
Demonstrate how to implement a custom AuthBasic middleware, used to protect all endpoints.
Demonstrate how to implement a custom AuthBasic middleware, used to protect all endpoints.
Demonstrate how to setup CorsMiddleware around all the API endpoints.
Demonstrate how to setup CorsMiddleware around all the API endpoints.
Demonstrate how to implement a custom CORS middleware, used to on all endpoints.
Demonstrate how to implement a custom CORS middleware, used to on all endpoints.
gae
Demonstrate how to setup a /.status endpoint protected with basic authentication.
Demonstrate how to setup a /.status endpoint protected with basic authentication.
Demonstrate a streaming REST API, where the data is "flushed" to the client ASAP.
Demonstrate a streaming REST API, where the data is "flushed" to the client ASAP.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL