repositorypackage
0.0.11
Repository: https://github.com/thalesfsp/webserver.git
Documentation: pkg.go.dev
# README
webserver
webserver
provides a web server:
- Gracefully handles shutdown
- Applies best practices such as setting up timeouts
- Routing powered by Gorilla Mux
- Logging powered Sypl
- HTTP server powered by Go built-in HTTP server
- Observability is first-class:
- Telemetry powered by Open Telemetry
- Metrics powered by ExpVar
- Built-in useful handlers such as liveness, and readiness
Install
$ go get github.com/thalesfsp/webserver
Specific version
Example: $ go get github.com/thalesfsp/[email protected]
Usage
See example_test.go
, and webserver_test.go
file.
Documentation
Run $ make doc
or check out online.
Development
Check out CONTRIBUTION.
Release
- Update CHANGELOG accordingly.
- Once changes from MR are merged.
- Tag and release.
Roadmap
Check out CHANGELOG.