Versions in this module Expand all Collapse all v0 v0.1.5 Dec 3, 2019 v0.1.4 Oct 28, 2019 Changes in this version + type Heartbeat struct + CpuNum int + CpuUsage float64 + Ip string + MachineType MACHINE_TYPE + MemNum string + MemUsage float64 + TaskNum int + Timestamp int64 + UUID string + WorkerName string + func NewDefaultHeartBeat(machineType MACHINE_TYPE) (*Heartbeat, error) + func NewHeartBeat(workerName string, machineType MACHINE_TYPE) (*Heartbeat, error) + type MACHINE_TYPE string + const FLINK_CLUSTER + const HADOOP_CLUSTER + const K8S_CLUSTER + const MACHINERY_SERVER + const OTHER_CLUSTER + const SPARK_CLUSTER