package
1.5.1
Repository: https://github.com/leapkit/core.git
Documentation: pkg.go.dev

# Functions

InCtxMiddleware allows to specify a key/value that should be set on each request context.
New creates a new server with the given options and default middleware.
WithHost allows to specify the host to run the server at if not specified it defaults to 0.0.0.0.
WithPort allows to specify the port to run the server at when not specified it defaults to 3000.

# Interfaces

Router is the interface that wraps the basic methods for a router.

# Type aliases

Middleware is a function that receives a http.Handler and returns a http.Handler that can be used to wrap the original handler with some functionality.
Options for the server.