package
Version:
v0.0.0-...-4c99fb1
Opens a new window with list of versions in this module.
Published: Dec 13, 2017
License: Apache-2.0, MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 3
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.