appdata

package
v0.0.0-...-3918530 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppData

type AppData struct {
	TerminateCh chan struct{}   // terminate self
	Client      *spanner.Client // spanner client
	FleetOp     *hedge.Op       // our fleet orchestrator

	// Our resettable timer telling us if we have a leader.
	LeaderActive *timedoff.TimedOff

	// The current leader's id. Zero means no leader.
	LeaderId int64
}

Jump to

Keyboard shortcuts

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