package
Version:
v0.0.0-...-eef5595
Opens a new window with list of versions in this module.
Published: Mar 27, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CollectMeteringData() (mapSumNetworkIn map[string]uint64)
func LoopPushMeteringData()
func PostAliyun(meteringValue string)
func Send2RMQS(body []byte)
type Entities struct {
Key string `json:"Key"`
Value string `json:"Value"`
}
type Metering struct {
InstanceId string `json:"InstanceId"`
StartTime int64 `json:"StartTime"`
EndTime int64 `json:"EndTime"`
Entities []Entities `json:"Entities"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.