Documentation ¶
Overview ¶
********************************************************
Package Metrics provides an exporter of gateway's connection-level metrics
/*********************************************************
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartMetricsManager ¶
Types ¶
type Metrics ¶
type Metrics struct {
ConnectionFlow map[string]*event.ConnectionStatusAttr
}
var (
MyMetricsManager Metrics
)
func (*Metrics) GetConnectionMetrics ¶
func (m *Metrics) GetConnectionMetrics(w http.ResponseWriter, _ *http.Request)
func (*Metrics) PostConnectionMetrics ¶
func (m *Metrics) PostConnectionMetrics(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.