dump

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dump

func Dump(logs raft.LogStore, snaps raft.SnapshotStore, out io.Writer, options ...Option) error

Dump the content of a dqlite store.

Types

type Option

type Option func(logs raft.LogStore, o *options) error

Option to tweak the output of dump

func Head(n int) Option

Head limits the output to the first N entries.

func Replay

func Replay(dir string) Option

Replay the commands generating SQLite databases in the given dir.

func Tail

func Tail(n int) Option

Tail limits the output to the last N entries.

Jump to

Keyboard shortcuts

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