package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 11, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Handler provides a new healthz handler
type Config struct {
Hostname string
}
Config provides data for the healthz handler
NewConfig initializes a healthz.Config struct
type Error struct {
Description string `json:"description"`
Error string `json:"error"`
Metadata map[string]string `json:"metadata"`
Type string `json:"type"`
}
type Response struct {
Hostname string `json:"hostname"`
Metadata map[string]string `json:"metadata"`
Errors []Error `json:"errors"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.