https://github.com/losinggeneration/gclt
https://github.com/losinggeneration/gclt
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/losinggeneration/gclt
- Owner: losinggeneration
- Created: 2017-07-15T18:33:40.000Z (almost 9 years ago)
- Default Branch: responser
- Last Pushed: 2017-07-15T18:34:01.000Z (almost 9 years ago)
- Last Synced: 2025-03-06T16:41:50.346Z (over 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GopherCon Lightning Talk 2017 example code
==
This is the example API I presented at GopherCon 2017 during the lightning
talks. The API was written in about an hour for this talk. It's has a few
caveats:
* The API is not stable, but can be used as a starting point.
* The Responser serves multiple purposes, modifying the ResposeWriter
& transforming the data. Ideally, these would be done separately.
* Any transforms to the data happen in order, so order matters. So if you're
returning transformed data to be written, that should be last in the
transform pipeline.