Documentation ¶
Index ¶
- Variables
- func ClientConnect()
- func ClientDisconnect()
- func MessageRecieved()
- func MessageSent()
- func RecieveMessage(size int)
- func RunMetrics()
- func SendMessage(size int)
- type ConnectiveInnerMetrics
- type ConnectiveMetric
- type InnerObjectMetric
- type MessageCount
- type MetricCounters
- type ObjectMetric
Constants ¶
This section is empty.
Variables ¶
View Source
var ConnectiveCounter = &ConnectiveMetric{}
View Source
var Counter = MetricCounters{ Object: ObjectCounter, Update: UpdateCounter, Connectivity: ConnectiveCounter, }
View Source
var ObjectCounter = &ObjectMetric{}
View Source
var UpdateCounter = &ObjectMetric{}
Functions ¶
func ClientConnect ¶
func ClientConnect()
func ClientDisconnect ¶
func ClientDisconnect()
func MessageRecieved ¶
func MessageRecieved()
func MessageSent ¶
func MessageSent()
func RecieveMessage ¶
func RecieveMessage(size int)
func RunMetrics ¶
func RunMetrics()
func SendMessage ¶
func SendMessage(size int)
Types ¶
type ConnectiveInnerMetrics ¶
type ConnectiveMetric ¶
type ConnectiveMetric struct { Total ConnectiveInnerMetrics `json:"total"` Interval ConnectiveInnerMetrics `json:"interval"` // contains filtered or unexported fields }
type InnerObjectMetric ¶
type MessageCount ¶
type MetricCounters ¶
type MetricCounters struct { Object *ObjectMetric `json:"object"` Update *ObjectMetric `json:"update"` Connectivity *ConnectiveMetric `json:"connectivity"` }
type ObjectMetric ¶
type ObjectMetric struct { Total InnerObjectMetric `json:"total"` Interval InnerObjectMetric `json:"interval"` LastInterval InnerObjectMetric `json:"-"` }
Click to show internal directories.
Click to hide internal directories.