httptoolkit

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2024 License: MIT

README

HTTP Toolkit

This is a toolkit to reduce boilerplate code for common HTTP related things I need to do in go.

Subpackages

github.com/n-vr/httptoolkit/handler

Package handler implements an HTTP handler that can return an error, while staying 100% compatible with the standard library's net/http package.

github.com/n-vr/httptoolkit/problem

Package problem implements RFC 9457 errors that can be returned from a handler.

github.com/n-vr/httptoolkit/server

Package server implements a simple HTTP server that features graceful shutdown.

Directories

Path Synopsis
Package handler implements an HTTP handler that can return an error, while staying 100% compatible with the standard library's net/http package.
Package handler implements an HTTP handler that can return an error, while staying 100% compatible with the standard library's net/http package.
Package problem implements RFC 9457 errors that can be returned from a handler.
Package problem implements RFC 9457 errors that can be returned from a handler.
Package server implements a simple HTTP server that features graceful shutdown.
Package server implements a simple HTTP server that features graceful shutdown.
servertest
Package servertest provides utilities for testing the server package.
Package servertest provides utilities for testing the server package.

Jump to

Keyboard shortcuts

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