package
Version:
v0.0.0-...-364655a
Opens a new window with list of versions in this module.
Published: Nov 2, 2018
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AddSpin adds spin as middleware using the specified path.
Spin is a response handler which returns a unique ID per application start.
type SpinResult struct {
OK bool `json:"ok"`
Version string `json:"version"`
ID string `json:"id"`
Born time.Time `json:"born"`
}
SpinResult is the result of a spin.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.