//
pkg.gl
Category
github.com/vitessio/vitess
go
vt
vttablet
heartbeat
package
3.0.0-rc.3+incompatible
Repository:
https://github.com/vitessio/vitess.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
20
Dependents
0
Files
377 SLOC
#
Functions
NewReader
NewReader returns a new heartbeat reader.
NewWriter
NewWriter creates a new Writer.
#
Structs
Reader
Reader reads the heartbeat table at a configured interval in order to calculate replication lag.
Writer
Writer runs on master tablets and writes heartbeats to the _vt.heartbeat table at a regular interval, defined by heartbeat_interval.