Help us shape the future of Go! Take the 2026 Go Developer Survey

heartbeat

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Heartbeat

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

func HeartbeatFromConfig

func HeartbeatFromConfig(config HeartbeatConfig) (*Heartbeat, error)

func (*Heartbeat) Close

func (h *Heartbeat) Close() error

func (*Heartbeat) Start

func (h *Heartbeat) Start(ctx context.Context)

type HeartbeatConfig

type HeartbeatConfig struct {
	HeartbeatInterval time.Duration
	ExecutiveURL      string
	Family            string
	Table             string
	WriterName        string
	WriterSecret      string
}

Jump to

Keyboard shortcuts

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