Categorygithub.com/rsheasby/lightwork
modulepackage
0.0.8
Repository: https://github.com/rsheasby/lightwork.git
Documentation: pkg.go.dev

# README

lightwork

Lightweight Go web framework - Inspired by Echo, with less features and a (subjectively) nicer API

# Functions

ClassicHandlerShim converts a classic Go http.Handler into a batteryholder Handler.
ClassicMiddlewareShim is a helper function that allows you to use a classic Go middleware handler as middleware.
No description provided by the author

# Structs

Context is the object provided to an HTTP handler.
ContextRequest contains the methods used to retrieve the request details.
ContextResponse contains the methods used to return an HTTP response.
HandlerGroup is the object that allows you to add middleware and routes/handlers.
RequestLogger is used to log events that occur within a request handler.
No description provided by the author
SimpleCtx is a simple wrapper around a context that includes the SetValue convenience function.

# Interfaces

RequestLoggerBase provides the basic interface required to log at 4 simple levels.

# Type aliases

No description provided by the author
No description provided by the author