httpthings is a lose collection of thing I commonly use when building web servers. This is
mainly for my personal used and allows me to keep the latest way I tend to do things in
a central place.
If you like these things use them by copying the snippets needed to your repo. DO NOT USE
THESE THINGS AS A REGULAR LIBRARY unless you are me. Because things will change and break
your things.
Thing
Description
github.com/unprofession-al/httpthings/respond
Easily write HTTP responses to the client
github.com/unprofession-al/httpthings/endpoint
In conjunction with package openapi, endpoint allows so setup a self-documenting http server
github.com/unprofession-al/httpthings/run
Start a HTTP server that runs as a real server or in a server-less fashion
To see a thing than makes use of all the things, see example.
Package endpoint is a small layer on top of github.com/gorilla/mux which allows to define HTTP endpoints containing the handler function as well as some meta data.
Package endpoint is a small layer on top of github.com/gorilla/mux which allows to define HTTP endpoints containing the handler function as well as some meta data.