p2pb

package
v3.0.0-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: LGPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerInfo

type PeerInfo struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Addrs                []string `protobuf:"bytes,2,rep,name=addrs,proto3" json:"addrs,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PeerInfo) Descriptor

func (*PeerInfo) Descriptor() ([]byte, []int)

func (*PeerInfo) GetAddrs

func (m *PeerInfo) GetAddrs() []string

func (*PeerInfo) GetId

func (m *PeerInfo) GetId() string

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) Reset

func (m *PeerInfo) Reset()

func (*PeerInfo) String

func (m *PeerInfo) String() string

func (*PeerInfo) XXX_DiscardUnknown

func (m *PeerInfo) XXX_DiscardUnknown()

func (*PeerInfo) XXX_Marshal

func (m *PeerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PeerInfo) XXX_Merge

func (m *PeerInfo) XXX_Merge(src proto.Message)

func (*PeerInfo) XXX_Size

func (m *PeerInfo) XXX_Size() int

func (*PeerInfo) XXX_Unmarshal

func (m *PeerInfo) XXX_Unmarshal(b []byte) error

type RoutingQuery

type RoutingQuery struct {
	Ids                  []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoutingQuery) Descriptor

func (*RoutingQuery) Descriptor() ([]byte, []int)

func (*RoutingQuery) GetIds

func (m *RoutingQuery) GetIds() []string

func (*RoutingQuery) ProtoMessage

func (*RoutingQuery) ProtoMessage()

func (*RoutingQuery) Reset

func (m *RoutingQuery) Reset()

func (*RoutingQuery) String

func (m *RoutingQuery) String() string

func (*RoutingQuery) XXX_DiscardUnknown

func (m *RoutingQuery) XXX_DiscardUnknown()

func (*RoutingQuery) XXX_Marshal

func (m *RoutingQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoutingQuery) XXX_Merge

func (m *RoutingQuery) XXX_Merge(src proto.Message)

func (*RoutingQuery) XXX_Size

func (m *RoutingQuery) XXX_Size() int

func (*RoutingQuery) XXX_Unmarshal

func (m *RoutingQuery) XXX_Unmarshal(b []byte) error

type RoutingResponse

type RoutingResponse struct {
	Peers                []*PeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*RoutingResponse) Descriptor

func (*RoutingResponse) Descriptor() ([]byte, []int)

func (*RoutingResponse) GetPeers

func (m *RoutingResponse) GetPeers() []*PeerInfo

func (*RoutingResponse) ProtoMessage

func (*RoutingResponse) ProtoMessage()

func (*RoutingResponse) Reset

func (m *RoutingResponse) Reset()

func (*RoutingResponse) String

func (m *RoutingResponse) String() string

func (*RoutingResponse) XXX_DiscardUnknown

func (m *RoutingResponse) XXX_DiscardUnknown()

func (*RoutingResponse) XXX_Marshal

func (m *RoutingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RoutingResponse) XXX_Merge

func (m *RoutingResponse) XXX_Merge(src proto.Message)

func (*RoutingResponse) XXX_Size

func (m *RoutingResponse) XXX_Size() int

func (*RoutingResponse) XXX_Unmarshal

func (m *RoutingResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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