Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventHeartbeats = "tailnet_coordinator_heartbeat" HeartbeatPeriod = time.Second * 2 MissedHeartbeats = 3 )
Variables ¶
This section is empty.
Functions ¶
func NewCoordinator ¶
NewCoordinator creates a new high availability coordinator that uses PostgreSQL pubsub to exchange handshakes.
func NewPGCoord ¶
func NewPGCoord(ctx context.Context, logger slog.Logger, ps pubsub.Pubsub, store database.Store) (agpl.Coordinator, error)
NewPGCoord creates a high-availability coordinator that stores state in the PostgreSQL database and receives notifications of updates via the pubsub.
func ServeWorkspaceProxy ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.