Documentation
¶
Overview ¶
Package version represents the version the project Dragonfly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DFDaemonVersion is the version of dfdaemon. DFDaemonVersion = version // DFGetVersion is the version of dfget. DFGetVersion = version // SupernodeVersion is the version of supernode. SupernodeVersion = version // DFVersion is the global instance of DragonflyVersion. DFVersion *types.DragonflyVersion )
Functions ¶
func Handler ¶ added in v0.4.2
func Handler(w http.ResponseWriter, r *http.Request)
Handler returns build information.
func HandlerWithCtx ¶ added in v0.4.2
HandlerWithCtx returns build information.
func NewBuildInfo ¶ added in v0.4.3
func NewBuildInfo(program string, registerer prometheus.Registerer)
NewBuildInfo registers a collector which exports metrics about version and build information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.