operation

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

Store is db implementation of operation store.

func New

func New(provider storage.Provider, metrics metricsProvider) (*Store, error)

New creates new operation store.

func (*Store) Get

func (s *Store) Get(suffix string) ([]*operation.AnchoredOperation, error)

Get retrieves document operations for the given suffix.

func (*Store) Put

func (s *Store) Put(ops []*operation.AnchoredOperation) error

Put saves document operations into operation store.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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