remote

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func New

func New(rawURL string, ctx context.Context, log utils.SimpleLogger, opts ...grpc.DialOption) (*DB, error)

func (*DB) Close

func (d *DB) Close() error

func (*DB) Impl

func (d *DB) Impl() any

func (*DB) NewTransaction

func (d *DB) NewTransaction(write bool) (db.Transaction, error)

func (*DB) Update

func (d *DB) Update(fn func(txn db.Transaction) error) error

func (*DB) View

func (d *DB) View(fn func(txn db.Transaction) error) error

func (*DB) WithListener

func (d *DB) WithListener(listener db.EventListener) db.DB

Jump to

Keyboard shortcuts

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