Discover Packages
github.com/abtris/fiber-demo
command
module
Version:
v0.0.0-...-5cd45d6
Opens a new window with list of versions in this module.
Published: Oct 28, 2020
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Fiber Hello World Demo
An Express-inspired web framework written in Go.
Fiber is Golang alternative to Express , Flask or Sinatra with similar API.
Demo contains
static assets for css (style.css
)
bootstrap linked (cdn links in template)
404 message
rate limiting
basic logger
prometheus integration (/metrics
)
request ID (for connect with metrics, traces)
support for env PORT (for example used in Heroku)
basic test for 200, 404 routes
How to use it
$ make
Usage:
make <target>
Targets:
help Display this help
deps Check && download dependencies
build Build docker image
watch Watch file changes and build
run Run
Docs
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.