Documentation ¶
Index ¶
Constants ¶
View Source
const EscapeLogo = `Escape Inventory v` + InventoryVersion + `
Copyright(c) 2017 Ankyra Ltd
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ @
@ @@@@@@ .@. @
@ @@@@@@ @@@ @
@ @@@@@@ @@@. @
@ @@@@@@ + @@@@; @
@ @@@@@@ +@ +@@@,@ @
@ @@@@@@ +@@@@@@@@@@@@ +@@@ : @
@ @@@@@@ +@@@@@@@@@@@@@.@@@#@@ @
@ @@@@@@ +@@@@@@@@@@@@ .@@ @
@ @@@@@@ +@ #@@@ @
@ @@@@@@ + @# @ @
@ @@@@@@ @, @@@. @
@ @@@@@@ @ @
@ @@@@@@ @ @
@ @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
`
View Source
const InventoryVersion = "0.16.12"
Variables ¶
View Source
var Config *config.Config
Functions ¶
func LoadConfig ¶
func StartInventory ¶
Types ¶
type MetricMiddleware ¶
type MetricMiddleware struct{}
func NewMetricMiddleware ¶
func NewMetricMiddleware() *MetricMiddleware
func (*MetricMiddleware) ServeHTTP ¶
func (m *MetricMiddleware) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.