package
Version:
v0.0.0-...-8588dec
Opens a new window with list of versions in this module.
Published: Aug 23, 2024
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Server wraps the http.Server type for extending functionality.
The New function creates a new http.Server type, configures the routes, adds middleware, and starts the server gracefully.
Start starts the HTTP server in a separate goroutine and listens for
the context cancellation signal to shut down the server gracefully.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.