The module obeng provides a range of commonly useful functionality for web applications:
- Session management with several storage options
- Structured logging for HTTP requests
- Panic recovery in HTTP handlers
- Middleware chaining
Source Code Repository
The current development version is available from the source code repository.
Documentation
Usage
API documentation and usage examples can be displayed using the go doc
command or accessed on pkg.go.dev.
Build Instructions
obeng is a Go module and requires Go version 1.25 or later. It can be used by including its canonical name "go.guido-berhoerster.org/obeng". See the Go documentation for details.
Contact
Please send any feedback, translations or bug reports via email to guido+obeng@berhoerster.name.
Bug Reports
When sending bug reports, please always mention the exact version of the obeng module with which the issue occurs as well as the Go compiler and version and version of the operating system you are using and make sure that you provide sufficient information to reproduce the issue and include any input, output, any error messages.
In case of build issues, please also specify the implementations and versions of the tools used to build the package and/or program, in particular the Go compiler.
In case of crashes, please attach the full backtrace to the bug report.
License
Except otherwise noted, all files are Copyright (C) 2025 Guido Berhoerster and distributed under the following license terms:
Copyright (C) 2025 Guido Berhoerster guido+obeng@berhoerster.name
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.