2018-03-08 14:08:37 -08:00
|
|
|
package hw
|
|
|
|
|
|
|
|
import "net/http"
|
|
|
|
|
2018-03-08 15:12:08 -08:00
|
|
|
var Version = "unset"
|
2018-03-08 14:48:25 -08:00
|
|
|
|
2018-03-08 14:08:37 -08:00
|
|
|
// OK simply return 200
|
|
|
|
func OK(w http.ResponseWriter, req *http.Request) {}
|
2018-03-08 16:15:44 -08:00
|
|
|
|
|
|
|
// V houses version information
|
|
|
|
type V struct {
|
|
|
|
Hostname string `json:"hostname"`
|
|
|
|
V string `json:"version"`
|
|
|
|
}
|