2 Commits (b8bde8fbf2912177e976c7e6826f21918caee60a)

Author SHA1 Message Date
alex b8bde8fbf2
cmd/noxy: add CORS headers to all endpoints
the simplest approach at the moment: allow requests from all origins,
only GET and OPTIONS methods.

allowed headers are '*'. this prevents clients from providing
credentials via cookies which isn't used anyway. nuff cookies.
2 years ago
alex 813d0501bd
basic implementation of the last api version
the meat is in Noxer struct, in noxy.go.
executable server entry point is in cmd/noxy/main.go.

all request responses are cached using a rudimentary filesystem
based caching. a max storage quota is not implemented yet.
2 years ago