repositorypackage
2.0.0-beta.2+incompatible
Repository: https://github.com/euskadi31/go-server.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Go Server

Branch | Status | Coverage |
---|---|---|
master |
HTTP Server Router with middleware
Example
import "github.com/euskadi31/go-server"
router := server.NewRouter()
router.EnableMetrics()
router.EnableCors()
router.EnableHealthCheck()
router.AddHealthCheck("my-health-check", NewMyHealthCheck())
router.Use(MyMiddleWare())
router.AddController(MyController())
panic(http.ListenAndServe(":1337", router))
License
go-server is licensed under the MIT license.