hb

package
v3.0.0-rc67 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 28 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	// contains filtered or unexported fields
}

func New

func New(_ context.Context, opts ...funcopt.O) *T

func (*T) Start

func (t *T) Start(ctx context.Context) error

Start starts the heartbeat components

It starts: with ctx:

  • the hb controller to maintain heartbeat status and peers It is firstly started and lastly stopped
  • hb drivers

with cancelable context - the dispatcher of messages to send to hb tx components - the dispatcher of read messages from hb rx components to daemon data - the goroutine responsible for hb drivers lifecycle

func (*T) Stop

func (t *T) Stop() error

Directories

Path Synopsis
Package hbcrypto handles creation and updates of *atomic.Pointer[omcrypto.T] to follow the cluster name or hb secret object changes.
Package hbcrypto handles creation and updates of *atomic.Pointer[omcrypto.T] to follow the cluster name or hb secret object changes.
Package hbctrl manage data and status of daemon heartbeats
Package hbctrl manage data and status of daemon heartbeats
Package hbdedup drops the decoding of a heartbeat frame a peer already delivered over another heartbeat link.
Package hbdedup drops the decoding of a heartbeat frame a peer already delivered over another heartbeat link.
Package hbdisk implement a hb disk driver.
Package hbdisk implement a hb disk driver.
Package hbmcast implement a hb multicast driver
Package hbmcast implement a hb multicast driver
Package hbrelay uses a tiers opensvc agent as a kv store to exchange node data.
Package hbrelay uses a tiers opensvc agent as a kv store to exchange node data.
Package hbucast implement a hb unicast driver
Package hbucast implement a hb unicast driver

Jump to

Keyboard shortcuts

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