logreader

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// QueryRaftLog for all the entries in a given cluster within the right half-open range
	// defined by dragonboat.LogRange. MaxSize denotes the maximum cumulative size of the entries,
	// but this serves only as a hint and the actual size of returned entries may be larger than maxSize.
	QueryRaftLog(context.Context, uint64, raft.LogRange, uint64) ([]raftpb.Entry, error)
}

type Simple

type Simple struct {
	LogQuerier logQuerier
}

func (*Simple) QueryRaftLog

func (l *Simple) QueryRaftLog(ctx context.Context, clusterID uint64, logRange raft.LogRange, maxSize uint64) ([]raftpb.Entry, error)

Jump to

Keyboard shortcuts

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