localok

package
v0.0.0-...-e5666d8 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalOK

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

func NewLocalOK

func NewLocalOK(conf config.ConfigUpdater, promreg prometheus.Registerer) *LocalOK

func (*LocalOK) Check

func (l *LocalOK) Check(ctx context.Context) bool

func (*LocalOK) NextCheckIn

func (l *LocalOK) NextCheckIn() time.Duration

func (*LocalOK) SetConfig

func (l *LocalOK) SetConfig(cfg *pb.Config)

Jump to

Keyboard shortcuts

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