liveness

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrStartUpNotFinished is returned by Startup and Ready before SignalStartupFinished is called.
	ErrStartUpNotFinished = errors.New("startup not finished yet")
)

Functions

func New

func New(db *gorm.DB, client *redis.Client, info *info.Service, results *result.Service, m *metrics.Metrics) *liveness

New creates a liveness checker over the indexer DB, Redis client, and info/result services. m may be nil or disabled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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