Discover Packages
github.com/dashwav/nano-api
api
package
Version:
v0.0.0-...-871226d
Opens a new window with list of versions in this module.
Published: Apr 15, 2023
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
This exists to copy the body from the request into a context variable
This is needed because the csrf middleware will consume the body, so we need a persisted version in context
New configures application resources and routes.
Server provides an http.Server.
NewServer creates and configures an APIServer serving all application routes.
Start runs ListenAndServe on the http.Server with graceful shutdown.
Source Files
¶
Directories
¶
Package app ties together application resources and handlers.
Package app ties together application resources and handlers.
Click to show internal directories.
Click to hide internal directories.