fs1

package
v0.0.0-...-db81e0d Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package fs1 provides NEO storage backend based on ZODB FileStorage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func Open

func Open(ctx context.Context, path string) (*Backend, error)

func (*Backend) Close

func (f *Backend) Close() error

func (*Backend) LastOid

func (f *Backend) LastOid(ctx context.Context) (zodb.Oid, error)

func (*Backend) LastTid

func (f *Backend) LastTid(ctx context.Context) (zodb.Tid, error)

func (*Backend) Load

func (f *Backend) Load(ctx context.Context, xid zodb.Xid) (*proto.AnswerObject, error)

Jump to

Keyboard shortcuts

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