schema

package
v0.0.0-...-6120cfb Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Get(key []byte) (*model.DBInfo, error)
}

type ReaderWriter

type ReaderWriter interface {
	Reader
	Set(key []byte, info *model.DBInfo) error

	CommitAt(commitTs uint64) error
	Rollback()
}

func New

func New(txn index.Txn[*model.DBInfo]) ReaderWriter

Jump to

Keyboard shortcuts

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