package
module
Version:
v0.0.0-...-b8dc016
Opens a new window with list of versions in this module.
Published: Apr 23, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Documentation
¶
type Metric struct {
Host string `json:"host"`
Key string `json:"key"`
Value string `json:"value"`
Clock int64 `json:"clock"`
}
Metric class.
Metric class constructor.
type Packet struct {
Request string `json:"request"`
Data []*Metric `json:"data"`
Clock int64 `json:"clock"`
}
Packet class.
Packet class cunstructor.
DataLen Packet class method, return 8 bytes with packet length in little endian order.
Sender class.
Sender class constructor.
Method Sender class, send packet to zabbix.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.