hw/hw.go

15 lines
251 B
Go
Raw Normal View History

2018-03-08 14:08:37 -08:00
package hw
import "net/http"
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"`
}