feat: setup Fiber HTTP server
- graceful shutdown - logging with zap
This commit is contained in:
parent
ecdf67f371
commit
3ee3be9e7f
5 changed files with 129 additions and 8 deletions
21
go.mod
21
go.mod
|
|
@ -1,3 +1,24 @@
|
|||
module gitlab.mareshq.com/hq/yggdrasil
|
||||
|
||||
go 1.22.2
|
||||
|
||||
require (
|
||||
github.com/gofiber/contrib/fiberzap/v2 v2.1.3
|
||||
github.com/gofiber/fiber/v2 v2.52.4
|
||||
go.uber.org/zap v1.27.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/andybalholm/brotli v1.1.0 // indirect
|
||||
github.com/google/uuid v1.5.0 // indirect
|
||||
github.com/klauspost/compress v1.17.6 // indirect
|
||||
github.com/mattn/go-colorable v0.1.13 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/mattn/go-runewidth v0.0.15 // indirect
|
||||
github.com/rivo/uniseg v0.2.0 // indirect
|
||||
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
||||
github.com/valyala/fasthttp v1.52.0 // indirect
|
||||
github.com/valyala/tcplisten v1.0.0 // indirect
|
||||
go.uber.org/multierr v1.10.0 // indirect
|
||||
golang.org/x/sys v0.17.0 // indirect
|
||||
)
|
||||
|
|
|
|||
Reference in a new issue