Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BUILDTIME string
BUILDTIME is the time at which the code was compiled
View Source
var GITCOMMIT string
GITCOMMIT is the git commit id (the hex of the sha1 hash) of the source code used when building this code It should be set to the head commit of the master repo, not mist_go_utils. In the release code's repo the mist_go_utils should be vendored, and from that the mist_go_utils version can be derived from the main repo's commit.
View Source
var STARTTIME = time.Now().UTC()
startup time of this process
View Source
var VERSION string
VERSION is a version string for humans. We can try and set it to the circle-ci supplied version tag
Functions ¶
func HandleAbout ¶
func HandleAbout(w http.ResponseWriter, r *http.Request)
a useful handler for the "/about" URL. You can register this with
http.HandleFunc("/about", cloud.HandleAbout)
Types ¶
Click to show internal directories.
Click to hide internal directories.