bitswap_message_pb

package
v0.3.8-dev-trailers Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2015 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package bitswap_message_pb is a generated protocol buffer package.

It is generated from these files:

message.proto

It has these top-level messages:

Message

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Wantlist         *Message_Wantlist `protobuf:"bytes,1,opt,name=wantlist" json:"wantlist,omitempty"`
	Blocks           [][]byte          `protobuf:"bytes,2,rep,name=blocks" json:"blocks,omitempty"`
	XXX_unrecognized []byte            `json:"-"`
}

func (*Message) GetBlocks

func (m *Message) GetBlocks() [][]byte

func (*Message) GetWantlist

func (m *Message) GetWantlist() *Message_Wantlist

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

type Message_Wantlist

type Message_Wantlist struct {
	Entries          []*Message_Wantlist_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"`
	Full             *bool                     `protobuf:"varint,2,opt,name=full" json:"full,omitempty"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*Message_Wantlist) GetEntries

func (m *Message_Wantlist) GetEntries() []*Message_Wantlist_Entry

func (*Message_Wantlist) GetFull

func (m *Message_Wantlist) GetFull() bool

func (*Message_Wantlist) ProtoMessage

func (*Message_Wantlist) ProtoMessage()

func (*Message_Wantlist) Reset

func (m *Message_Wantlist) Reset()

func (*Message_Wantlist) String

func (m *Message_Wantlist) String() string

type Message_Wantlist_Entry

type Message_Wantlist_Entry struct {
	Block            *string `protobuf:"bytes,1,opt,name=block" json:"block,omitempty"`
	Priority         *int32  `protobuf:"varint,2,opt,name=priority" json:"priority,omitempty"`
	Cancel           *bool   `protobuf:"varint,3,opt,name=cancel" json:"cancel,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*Message_Wantlist_Entry) GetBlock

func (m *Message_Wantlist_Entry) GetBlock() string

func (*Message_Wantlist_Entry) GetCancel

func (m *Message_Wantlist_Entry) GetCancel() bool

func (*Message_Wantlist_Entry) GetPriority

func (m *Message_Wantlist_Entry) GetPriority() int32

func (*Message_Wantlist_Entry) ProtoMessage

func (*Message_Wantlist_Entry) ProtoMessage()

func (*Message_Wantlist_Entry) Reset

func (m *Message_Wantlist_Entry) Reset()

func (*Message_Wantlist_Entry) String

func (m *Message_Wantlist_Entry) String() string

Jump to

Keyboard shortcuts

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