You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
359 B

package hw
import "net/http"
// Version is version.
var Version = "unset"
// Git exists so we can override it
var Git = "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"`
G string `json:"git"`
}