streamrestore

package
v0.0.0-...-92732dc Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2025 License: CC0-1.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConnectStream = stream.ConnectStream
View Source
var NewBlockWriter = blockwriter.NewBlockWriter

Functions

This section is empty.

Types

type BlockBackup

type BlockBackup struct {
	Sequence      uint64
	MessageBackup *messagebackup.MessageBackup
	Block         *types.AbstractBlock
}

type StreamRestore

type StreamRestore struct {
	Mode            string
	Chunks          chunks.ChunksInterface
	Stream          *stream.Opts
	Writer          *blockwriter.Opts
	StartSeq        uint64
	EndSeq          uint64
	ToleranceWindow uint
	ReconnectWaitMs uint

	ParseBlock blockparse.ParseBlockFn
	// contains filtered or unexported fields
}

func (*StreamRestore) Run

func (sr *StreamRestore) Run() error

Jump to

Keyboard shortcuts

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