https://github.com/thalesfsp/webserver
A simple but powerful web server.
https://github.com/thalesfsp/webserver
go golang http webserver
Last synced: 9 months ago
JSON representation
A simple but powerful web server.
- Host: GitHub
- URL: https://github.com/thalesfsp/webserver
- Owner: thalesfsp
- License: mit
- Created: 2022-09-13T22:30:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T10:47:49.000Z (about 3 years ago)
- Last Synced: 2025-02-24T06:46:39.758Z (about 1 year ago)
- Topics: go, golang, http, webserver
- Language: Go
- Homepage: https://github.com/thalesfsp/webserver
- Size: 36.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
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/webserver@v1.2.3`
## Usage
See [`example_test.go`](example_test.go), and [`webserver_test.go`](webserver_test.go) file.
### Documentation
Run `$ make doc` or check out [online](https://pkg.go.dev/github.com/thalesfsp/webserver).
## Development
Check out [CONTRIBUTION](CONTRIBUTION.md).
### Release
1. Update [CHANGELOG](CHANGELOG.md) accordingly.
2. Once changes from MR are merged.
3. Tag and release.
## Roadmap
Check out [CHANGELOG](CHANGELOG.md).