Consolidates the V struct

This commit is contained in:
sm
2018-03-08 16:15:44 -08:00
parent ce2faa39eb
commit 56bd8445a4
3 changed files with 8 additions and 12 deletions
+6
View File
@@ -6,3 +6,9 @@ var Version = "unset"
// OK simply return 200
func OK(w http.ResponseWriter, req *http.Request) {}
// V houses version information
type V struct {
Hostname string `json:"hostname"`
V string `json:"version"`
}