Discover Packages
github.com/schmichael/metafora
httputil
package
Version:
v0.0.0-...-eab3a14
Opens a new window with list of versions in this module.
Published: Mar 26, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
MakeInfoHandler returns an HTTP handler which can be added to an exposed
HTTP server mux by Metafora applications to provide operators with basic
node introspection.
Consumer contains just the Metafora methods exposed by the HTTP
introspection endpoints.
type InfoResponse struct {
Frozen bool `json:"frozen"`
Node string `json:"node"`
Started time .Time `json:"started"`
Tasks []metafora .Task `json:"tasks"`
}
InfoResponse is the JSON response marshalled by the MakeInfoHandler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.