Documentation ¶
Overview ¶
Package pinner implements an in-memory IPFS pinner.
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
NewMemoryPinner initializes memory pinner which implements sentinel.Pinner interface.
Click to show internal directories.
Click to hide internal directories.