package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Aug 24, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package server is the package responsible for http server
PrefixConfig is the environment prefix ex: HOST_PORT will be added API_ as prefix.
type Config struct {
Addr string `env:"HOST_PORT,required"`
GracefulDuration time.Duration `env:"GRACEFUL_WAIT_TIME,required"`
}
Config is the API Server Configuration.
Source Files
¶
Directories
¶
Package middleware is about middlewares that must be added to chi handler.
|
Package middleware is about middlewares that must be added to chi handler. |
Click to show internal directories.
Click to hide internal directories.