Discover Packages
github.com/heppu/go-template
server
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 5, 2025
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.
Documentation
Documentation
¶
Package server wraps the application logic inside HTTP server.
New returns a function that creates a new http.Server.
This functions composes the application and binds it to the server.
Here you can configure custom middlewares, routes, etc.
The binding chain goes as follows:
http.Server -> http.ServeMux -> api.Server -> app.App -> store.Store
Source Files
¶
Click to show internal directories.
Click to hide internal directories.