heartbeat

package
v0.0.0-...-9625d7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendSignalHeartBeat

func SendSignalHeartBeat(hb *channel.HBEntity)

SendSignalHeartBeat ...

Types

type HeartBeat

type HeartBeat struct {
	CesDetails string
}

HeartBeat ...

func (*HeartBeat) ConsumeHeartBeat

func (hb *HeartBeat) ConsumeHeartBeat(heartbeat chan *channel.HBEntity)

ConsumeHeartBeat ... Start the control service, it will keep receiving the heartbeat and re-send it to server

func (*HeartBeat) LoadHbServicesDetails

func (hb *HeartBeat) LoadHbServicesDetails(ch chan channel.HBServiceData)

LoadHbServicesDetails ... load services(ces) detail content from service data channel

func (*HeartBeat) ProduceHeartBeat

func (hb *HeartBeat) ProduceHeartBeat(heartbeat chan *channel.HBEntity)

ProduceHeartBeat ... Start the heartbeat timer, it will send heartbeat message to heartbeat channel periodically

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL