dsextensions

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: MIT Imports: 3 Imported by: 8

README

go-datastore-extensions

Made by Textile Chat on Slack GitHub license Go Report Card

go-datastore extension interfaces

Table of Contents

Overview

This repository contains some extension interfaces stacked on top of ipfs/go-datastore.

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatastoreExtensions added in v1.0.1

type DatastoreExtensions interface {
	NewTransactionExtended(ctx context.Context, readOnly bool) (TxnExt, error)
	QueryExtensions
}

type QueryExt

type QueryExt struct {
	query.Query
	SeekPrefix string
}

type QueryExtensions added in v1.0.1

type QueryExtensions interface {
	QueryExtended(ctx context.Context, q QueryExt) (query.Results, error)
}

type TxnExt added in v1.0.1

type TxnExt interface {
	datastore.Txn
	QueryExtensions
}

Jump to

Keyboard shortcuts

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