storage

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CafeStorage

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

func NewCafeStorage

func NewCafeStorage(ipfs *core.IpfsNode, repoPath string, store func(id *cid.Cid) error) *CafeStorage

func (*CafeStorage) Store

func (s *CafeStorage) Store(message []byte) (ma.Multiaddr, error)

type OfflineMessagingStorage

type OfflineMessagingStorage interface {
	Store(message []byte) (ma.Multiaddr, error)
}

Jump to

Keyboard shortcuts

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