inmemchunkstore

package
v2.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkStore

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

func New

func New() *ChunkStore

func (*ChunkStore) Close

func (c *ChunkStore) Close() error

func (*ChunkStore) Delete

func (c *ChunkStore) Delete(_ context.Context, addr swarm.Address) error

func (*ChunkStore) Get

func (c *ChunkStore) Get(_ context.Context, addr swarm.Address) (swarm.Chunk, error)

func (*ChunkStore) Has

func (c *ChunkStore) Has(_ context.Context, addr swarm.Address) (bool, error)

func (*ChunkStore) Iterate

func (*ChunkStore) Put

func (c *ChunkStore) Put(_ context.Context, ch swarm.Chunk) error

Jump to

Keyboard shortcuts

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