Discover Packages
github.com/ASWATFZLLC/telegraf-freeswitch
utils
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Nov 2, 2017
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Count struct {
Total int `json:"total"`
Active int `json:"active"`
Peak int `json:"peak"`
Peak5min int `json:"peak5Min"`
Limit int `json:"limit"`
}
type Profile struct {
Name string `xml:"name"`
Type string `xml:"type"`
Data string `xml:"data"`
State string `xml:"state"`
}
type Profiles struct {
Profiles []*Profile `xml:"profile"`
}
type Rate struct {
Current int `json:"current"`
Max int `json:"max"`
Peak int `json:"peak"`
Peak5min int `json:"peak5Min"`
}
type Sessions struct {
Count Count `json:"count"`
Rate Rate `json:"rate"`
}
type StackSize struct {
Current int `json:"current"`
Max int `json:"max"`
}
type StatusResponse struct {
Sessions Sessions `json:"sessions"`
StackSize StackSize `json:"stackSizeKB"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.