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

heartbeat

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Beat

func Beat(name string, every time.Duration, err error)

Types

type Loop

type Loop struct {
	Name      string    `json:"name"`
	LastCycle time.Time `json:"last_cycle"`
	LastError string    `json:"last_error,omitempty"`
	Stale     bool      `json:"stale"`
}

func Status

func Status() ([]Loop, bool)

Jump to

Keyboard shortcuts

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