ipfs

package
v0.0.0-...-491e088 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BootstrapPeers = []string{
	"",
}

Functions

func NewChunkedReader

func NewChunkedReader(r io.Reader) *chunkedReader

Types

type PubSubSubscription

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

func PubSubSubscribe

func PubSubSubscribe(url, topic string) (*PubSubSubscription, error)

func (*PubSubSubscription) Next

func (s *PubSubSubscription) Next() (*Record, error)

type Record

type Record struct {
	*pb.Message
}

func (Record) Data

func (r Record) Data() []byte

func (Record) From

func (r Record) From() peer.ID

func (Record) SeqNo

func (r Record) SeqNo() int64

func (Record) TopicIDs

func (r Record) TopicIDs() []string

Jump to

Keyboard shortcuts

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