siaskynet

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewObjectStorage

func NewObjectStorage(config *storage.Config) storer.EncodedObjectStorer

Types

type ObjectStorage

type ObjectStorage struct {
	*storage.ChaintreeObjectStorage
	// contains filtered or unexported fields
}

func (*ObjectStorage) EncodedObject

func (*ObjectStorage) EncodedObjectSize

func (s *ObjectStorage) EncodedObjectSize(h plumbing.Hash) (size int64, err error)

func (*ObjectStorage) HasEncodedObject

func (s *ObjectStorage) HasEncodedObject(h plumbing.Hash) (err error)

func (*ObjectStorage) IterEncodedObjects

func (s *ObjectStorage) IterEncodedObjects(t plumbing.ObjectType) (storer.EncodedObjectIter, error)

func (*ObjectStorage) SetEncodedObject

func (s *ObjectStorage) SetEncodedObject(o plumbing.EncodedObject) (plumbing.Hash, error)

Jump to

Keyboard shortcuts

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