package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev

# Functions

MakeCallback creates a callback with the given options.
WithOnDisconnect adds a hook to the callback.
WithOnNewStoreRegistered adds a hook to the callback.
WithOnReboot adds a hook to the callback.

# Structs

DynCallback is a function based callback set.
Watcher watches the lifetime of stores.

# Interfaces

Callback will be called the supported event triggered.

# Type aliases

DynCallbackOpt is the option for DynCallback.