p2pb

package
v3.8.3 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_p2p_pb_message_proto protoreflect.FileDescriptor

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"`
	// contains filtered or unexported fields
}

func (*PeerInfo) Descriptor deprecated

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

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetAddrs

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

func (*PeerInfo) GetId

func (x *PeerInfo) GetId() string

func (*PeerInfo) ProtoMessage

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) ProtoReflect

func (x *PeerInfo) ProtoReflect() protoreflect.Message

func (*PeerInfo) Reset

func (x *PeerInfo) Reset()

func (*PeerInfo) String

func (x *PeerInfo) String() string

type RoutingQuery

type RoutingQuery struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RoutingQuery) Descriptor deprecated

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

Deprecated: Use RoutingQuery.ProtoReflect.Descriptor instead.

func (*RoutingQuery) GetIds

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

func (*RoutingQuery) ProtoMessage

func (*RoutingQuery) ProtoMessage()

func (*RoutingQuery) ProtoReflect

func (x *RoutingQuery) ProtoReflect() protoreflect.Message

func (*RoutingQuery) Reset

func (x *RoutingQuery) Reset()

func (*RoutingQuery) String

func (x *RoutingQuery) String() string

type RoutingResponse

type RoutingResponse struct {
	Peers []*PeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

func (*RoutingResponse) Descriptor deprecated

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

Deprecated: Use RoutingResponse.ProtoReflect.Descriptor instead.

func (*RoutingResponse) GetPeers

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

func (*RoutingResponse) ProtoMessage

func (*RoutingResponse) ProtoMessage()

func (*RoutingResponse) ProtoReflect

func (x *RoutingResponse) ProtoReflect() protoreflect.Message

func (*RoutingResponse) Reset

func (x *RoutingResponse) Reset()

func (*RoutingResponse) String

func (x *RoutingResponse) String() string

Jump to

Keyboard shortcuts

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