pinner

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MemoryPinner

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

MemoryPinner adds a message cid to its memory. It can be used only in local testing, when localfs implementation is used for message storage

func NewMemoryPinner

func NewMemoryPinner() *MemoryPinner

func (*MemoryPinner) Pin

func (l *MemoryPinner) Pin(ctx context.Context, cid cid.Cid) error

Jump to

Keyboard shortcuts

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