mdbxlog

package
v0.0.0-...-b359386 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MDBXLog

type MDBXLog struct{}

XLog implements a string serializable, comparable transaction log position.

func (MDBXLog) Compare

func (m MDBXLog) Compare(xlog1, xlog2 xlog.Position) (int, error)

Compare compares two xlog positions returning -1 if xlog1 < xlog2, 0 if xlog1 == xlog2, and 1 if xlog1 > xlog2.

func (MDBXLog) Zero

func (m MDBXLog) Zero() xlog.Position

Zero Returns the zero position for this xlog

Jump to

Keyboard shortcuts

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