Skip to content
containerooPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

httpkit

Small, composable HTTP building blocks for Go's standard library.

Package Purpose
assets Serve embedded files with asset caching and gzip negotiation.
grace Run one HTTP server with bounded graceful shutdown.
middleware Compose handlers, log requests, recover panics, and enforce browser-origin write checks.
parse Parse header entries and status-code expressions from configuration.
prefix Mount handlers and generate URLs below an optional path prefix.
response Write JSON/XML responses, track final status, and validate local redirects.
server Run related graceful listeners as one unit.

Install

go get github.com/containeroo/httpkit

assets.Static serves embedded frontend files with cache control and optional gzip. response.NewRequestWriter and response.LogFailure correlate HTTP failures with access logs.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages