Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvanceDevClockParams ¶
type NotifyDevClockParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AdvanceDevClock ¶
AdvanceDevClock moves the development clock @seconds further ahead, creating the singleton row when missing, and returns how far ahead it now runs.
func (*Queries) GetDevClockOffset ¶
SPDX-License-Identifier: AGPL-3.0-only Copyright The Muster Authors GetDevClockOffset reads how far the development clock runs ahead of the system time; no row means not at all.
func (*Queries) NotifyDevClock ¶
func (q *Queries) NotifyDevClock(ctx context.Context, arg NotifyDevClockParams) error
NotifyDevClock tells every replica that the development clock moved, once the transaction commits.