sequencer

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

package: sequencer / coordination type: factory job: the Sequencer port — build the ranke-go sequencer backend named in a config section limits: wiring only; the head, merges and history are ranke-go's (-> ranke-go)

The single writer advances the head k → k′ and keeps past heads for rollback (paper 2 §Sequencer). That mechanism is ranke-go's; this package only picks a backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sequencer

type Sequencer = ranke.Sequencer

Sequencer is the sequencer port's product: ranke-go's Sequencer contract. The server reaches the archive through it — immutable snapshots to read from, and merges that advance the head to write.

func New

func New(ctx context.Context, cfg scope.Section, storage ranke.Universe, sig signer.Signer) (Sequencer, error)

New builds the backend named by the section's "type".

Jump to

Keyboard shortcuts

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