eris-gocodeberg.org/eris/eris-go/cbor_serialization Index | Files

package cbor_serialization

import "codeberg.org/eris/eris-go/cbor_serialization"

Index

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)

Source Files

caps.go outgoing.go

Version
v0.0.0-20250117134628-64f8be33f6fe (latest)
Published
Jan 17, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
1 day ago

Tools for package owners.