schemawatch

package
v0.0.0-...-9e054ec Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package schemawatch contains code to allow the schema of a target database to be queried and monitored.

Index

Constants

This section is empty.

Variables

View Source
var RefreshDelay = flag.Duration("schemaRefresh", time.Minute,
	"how often to scan for schema changes; set to zero to disable")

RefreshDelay controls how ofter a watcher will refresh its schema. If this value is zero or negative, refresh behavior will be disabled.

Set is used by Wire.

Functions

func ProvideFactory

func ProvideFactory(
	ctx *stopper.Context, pool *types.TargetPool, d *diag.Diagnostics,
) (types.Watchers, error)

ProvideFactory is called by Wire to construct the Watchers factory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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