cbor_serialization

package
v0.0.0-...-bc42473 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectCaps

func CollectCaps(r io.Reader) (caps []eris.ReadCapability, err error)

Types

type DumpStore

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

func NewDumpStore

func NewDumpStore(path string) (store *DumpStore, err error)

func (*DumpStore) Allowed

func (store *DumpStore) Allowed() eris.AllowOps

func (*DumpStore) Close

func (store *DumpStore) Close() error

func (*DumpStore) Drop

func (server *DumpStore) Drop(ref eris.Ref) error

func (*DumpStore) Get

func (store *DumpStore) Get(ctx context.Context, chunk []byte, ref eris.Ref) error

func (*DumpStore) Has

func (store *DumpStore) Has(ctx context.Context, ref eris.Ref, chunkSize int) bool

func (*DumpStore) Put

func (store *DumpStore) Put(ctx context.Context, chunk []byte, ref eris.Ref) (err error)

Jump to

Keyboard shortcuts

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