16fcf1fbda
Topology accepts an argument to define the depth of the topology requested from the network. proto definitions have been modified accordingly, too.
587 lines
19 KiB
Go
587 lines
19 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: network.proto
|
|
|
|
package go_micro_network
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
_ "github.com/micro/go-micro/router/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
// Empty request
|
|
type ListRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListRequest) Reset() { *m = ListRequest{} }
|
|
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*ListRequest) ProtoMessage() {}
|
|
func (*ListRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{0}
|
|
}
|
|
|
|
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListRequest.Merge(m, src)
|
|
}
|
|
func (m *ListRequest) XXX_Size() int {
|
|
return xxx_messageInfo_ListRequest.Size(m)
|
|
}
|
|
func (m *ListRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
|
|
|
|
// ListResponse is returned by ListNodes
|
|
type ListResponse struct {
|
|
// network nodes
|
|
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *ListResponse) Reset() { *m = ListResponse{} }
|
|
func (m *ListResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*ListResponse) ProtoMessage() {}
|
|
func (*ListResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{1}
|
|
}
|
|
|
|
func (m *ListResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_ListResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *ListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_ListResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *ListResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_ListResponse.Merge(m, src)
|
|
}
|
|
func (m *ListResponse) XXX_Size() int {
|
|
return xxx_messageInfo_ListResponse.Size(m)
|
|
}
|
|
func (m *ListResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_ListResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_ListResponse proto.InternalMessageInfo
|
|
|
|
func (m *ListResponse) GetNodes() []*Node {
|
|
if m != nil {
|
|
return m.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// PeerRequest requests list of peers
|
|
type PeerRequest struct {
|
|
// node id
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PeerRequest) Reset() { *m = PeerRequest{} }
|
|
func (m *PeerRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*PeerRequest) ProtoMessage() {}
|
|
func (*PeerRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{2}
|
|
}
|
|
|
|
func (m *PeerRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PeerRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *PeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PeerRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PeerRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PeerRequest.Merge(m, src)
|
|
}
|
|
func (m *PeerRequest) XXX_Size() int {
|
|
return xxx_messageInfo_PeerRequest.Size(m)
|
|
}
|
|
func (m *PeerRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PeerRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PeerRequest proto.InternalMessageInfo
|
|
|
|
func (m *PeerRequest) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// PeerResponse is returned by ListPeers
|
|
type PeerResponse struct {
|
|
Peers []*Node `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PeerResponse) Reset() { *m = PeerResponse{} }
|
|
func (m *PeerResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PeerResponse) ProtoMessage() {}
|
|
func (*PeerResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{3}
|
|
}
|
|
|
|
func (m *PeerResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PeerResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *PeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PeerResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PeerResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PeerResponse.Merge(m, src)
|
|
}
|
|
func (m *PeerResponse) XXX_Size() int {
|
|
return xxx_messageInfo_PeerResponse.Size(m)
|
|
}
|
|
func (m *PeerResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PeerResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PeerResponse proto.InternalMessageInfo
|
|
|
|
func (m *PeerResponse) GetPeers() []*Node {
|
|
if m != nil {
|
|
return m.Peers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// TopologyRequest list node topology
|
|
type TopologyRequest struct {
|
|
// node id
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// topology depth
|
|
Depth uint64 `protobuf:"varint,2,opt,name=depth,proto3" json:"depth,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TopologyRequest) Reset() { *m = TopologyRequest{} }
|
|
func (m *TopologyRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*TopologyRequest) ProtoMessage() {}
|
|
func (*TopologyRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{4}
|
|
}
|
|
|
|
func (m *TopologyRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TopologyRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *TopologyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TopologyRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TopologyRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TopologyRequest.Merge(m, src)
|
|
}
|
|
func (m *TopologyRequest) XXX_Size() int {
|
|
return xxx_messageInfo_TopologyRequest.Size(m)
|
|
}
|
|
func (m *TopologyRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TopologyRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TopologyRequest proto.InternalMessageInfo
|
|
|
|
func (m *TopologyRequest) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TopologyRequest) GetDepth() uint64 {
|
|
if m != nil {
|
|
return m.Depth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// TopologyResponse is returned by Topology
|
|
type TopologyResponse struct {
|
|
Topology *Topology `protobuf:"bytes,1,opt,name=topology,proto3" json:"topology,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TopologyResponse) Reset() { *m = TopologyResponse{} }
|
|
func (m *TopologyResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*TopologyResponse) ProtoMessage() {}
|
|
func (*TopologyResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{5}
|
|
}
|
|
|
|
func (m *TopologyResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TopologyResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *TopologyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TopologyResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *TopologyResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TopologyResponse.Merge(m, src)
|
|
}
|
|
func (m *TopologyResponse) XXX_Size() int {
|
|
return xxx_messageInfo_TopologyResponse.Size(m)
|
|
}
|
|
func (m *TopologyResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TopologyResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TopologyResponse proto.InternalMessageInfo
|
|
|
|
func (m *TopologyResponse) GetTopology() *Topology {
|
|
if m != nil {
|
|
return m.Topology
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Node is network node
|
|
type Node struct {
|
|
// node id
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
// node address
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Node) Reset() { *m = Node{} }
|
|
func (m *Node) String() string { return proto.CompactTextString(m) }
|
|
func (*Node) ProtoMessage() {}
|
|
func (*Node) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{6}
|
|
}
|
|
|
|
func (m *Node) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Node.Unmarshal(m, b)
|
|
}
|
|
func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Node.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Node) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Node.Merge(m, src)
|
|
}
|
|
func (m *Node) XXX_Size() int {
|
|
return xxx_messageInfo_Node.Size(m)
|
|
}
|
|
func (m *Node) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Node.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Node proto.InternalMessageInfo
|
|
|
|
func (m *Node) GetId() string {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Node) GetAddress() string {
|
|
if m != nil {
|
|
return m.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Topology is used to nnounce node neighbourhood
|
|
type Topology struct {
|
|
// network node
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
// neighbours
|
|
Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Topology) Reset() { *m = Topology{} }
|
|
func (m *Topology) String() string { return proto.CompactTextString(m) }
|
|
func (*Topology) ProtoMessage() {}
|
|
func (*Topology) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{7}
|
|
}
|
|
|
|
func (m *Topology) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Topology.Unmarshal(m, b)
|
|
}
|
|
func (m *Topology) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Topology.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Topology) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Topology.Merge(m, src)
|
|
}
|
|
func (m *Topology) XXX_Size() int {
|
|
return xxx_messageInfo_Topology.Size(m)
|
|
}
|
|
func (m *Topology) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Topology.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Topology proto.InternalMessageInfo
|
|
|
|
func (m *Topology) GetNode() *Node {
|
|
if m != nil {
|
|
return m.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Topology) GetNodes() []*Node {
|
|
if m != nil {
|
|
return m.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Connect is sent when the node connects to the network
|
|
type Connect struct {
|
|
// network mode
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Connect) Reset() { *m = Connect{} }
|
|
func (m *Connect) String() string { return proto.CompactTextString(m) }
|
|
func (*Connect) ProtoMessage() {}
|
|
func (*Connect) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{8}
|
|
}
|
|
|
|
func (m *Connect) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Connect.Unmarshal(m, b)
|
|
}
|
|
func (m *Connect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Connect.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Connect) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Connect.Merge(m, src)
|
|
}
|
|
func (m *Connect) XXX_Size() int {
|
|
return xxx_messageInfo_Connect.Size(m)
|
|
}
|
|
func (m *Connect) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Connect.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Connect proto.InternalMessageInfo
|
|
|
|
func (m *Connect) GetNode() *Node {
|
|
if m != nil {
|
|
return m.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Close is sent when the node disconnects from the network
|
|
type Close struct {
|
|
// network node
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Close) Reset() { *m = Close{} }
|
|
func (m *Close) String() string { return proto.CompactTextString(m) }
|
|
func (*Close) ProtoMessage() {}
|
|
func (*Close) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{9}
|
|
}
|
|
|
|
func (m *Close) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Close.Unmarshal(m, b)
|
|
}
|
|
func (m *Close) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Close.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Close) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Close.Merge(m, src)
|
|
}
|
|
func (m *Close) XXX_Size() int {
|
|
return xxx_messageInfo_Close.Size(m)
|
|
}
|
|
func (m *Close) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Close.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Close proto.InternalMessageInfo
|
|
|
|
func (m *Close) GetNode() *Node {
|
|
if m != nil {
|
|
return m.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Solicit is sent when soliciting routes from the network nodes
|
|
type Solicit struct {
|
|
// network node
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Solicit) Reset() { *m = Solicit{} }
|
|
func (m *Solicit) String() string { return proto.CompactTextString(m) }
|
|
func (*Solicit) ProtoMessage() {}
|
|
func (*Solicit) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{10}
|
|
}
|
|
|
|
func (m *Solicit) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Solicit.Unmarshal(m, b)
|
|
}
|
|
func (m *Solicit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Solicit.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Solicit) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Solicit.Merge(m, src)
|
|
}
|
|
func (m *Solicit) XXX_Size() int {
|
|
return xxx_messageInfo_Solicit.Size(m)
|
|
}
|
|
func (m *Solicit) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Solicit.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Solicit proto.InternalMessageInfo
|
|
|
|
func (m *Solicit) GetNode() *Node {
|
|
if m != nil {
|
|
return m.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Peer is used to advertise node peers
|
|
type Peer struct {
|
|
// network node
|
|
Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
// node peers
|
|
Peers []*Peer `protobuf:"bytes,2,rep,name=peers,proto3" json:"peers,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Peer) Reset() { *m = Peer{} }
|
|
func (m *Peer) String() string { return proto.CompactTextString(m) }
|
|
func (*Peer) ProtoMessage() {}
|
|
func (*Peer) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8571034d60397816, []int{11}
|
|
}
|
|
|
|
func (m *Peer) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Peer.Unmarshal(m, b)
|
|
}
|
|
func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Peer.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *Peer) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Peer.Merge(m, src)
|
|
}
|
|
func (m *Peer) XXX_Size() int {
|
|
return xxx_messageInfo_Peer.Size(m)
|
|
}
|
|
func (m *Peer) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Peer.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Peer proto.InternalMessageInfo
|
|
|
|
func (m *Peer) GetNode() *Node {
|
|
if m != nil {
|
|
return m.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Peer) GetPeers() []*Peer {
|
|
if m != nil {
|
|
return m.Peers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*ListRequest)(nil), "go.micro.network.ListRequest")
|
|
proto.RegisterType((*ListResponse)(nil), "go.micro.network.ListResponse")
|
|
proto.RegisterType((*PeerRequest)(nil), "go.micro.network.PeerRequest")
|
|
proto.RegisterType((*PeerResponse)(nil), "go.micro.network.PeerResponse")
|
|
proto.RegisterType((*TopologyRequest)(nil), "go.micro.network.TopologyRequest")
|
|
proto.RegisterType((*TopologyResponse)(nil), "go.micro.network.TopologyResponse")
|
|
proto.RegisterType((*Node)(nil), "go.micro.network.Node")
|
|
proto.RegisterType((*Topology)(nil), "go.micro.network.Topology")
|
|
proto.RegisterType((*Connect)(nil), "go.micro.network.Connect")
|
|
proto.RegisterType((*Close)(nil), "go.micro.network.Close")
|
|
proto.RegisterType((*Solicit)(nil), "go.micro.network.Solicit")
|
|
proto.RegisterType((*Peer)(nil), "go.micro.network.Peer")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("network.proto", fileDescriptor_8571034d60397816) }
|
|
|
|
var fileDescriptor_8571034d60397816 = []byte{
|
|
// 412 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0xdf, 0x8a, 0xd3, 0x40,
|
|
0x14, 0xc6, 0x37, 0x31, 0x35, 0xdb, 0x13, 0x57, 0x97, 0x41, 0x24, 0x14, 0x2a, 0x75, 0xae, 0x8a,
|
|
0x68, 0x2a, 0x2d, 0xab, 0x37, 0xde, 0xed, 0x85, 0x20, 0xcb, 0x22, 0xa9, 0x0f, 0xa0, 0xcd, 0x0c,
|
|
0x69, 0xb0, 0xcd, 0x89, 0x33, 0x53, 0xc4, 0xe7, 0xf3, 0xc5, 0x64, 0xfe, 0xa4, 0x89, 0xa6, 0xa9,
|
|
0xe6, 0xae, 0x67, 0xce, 0xf9, 0x7e, 0x5f, 0x72, 0xfa, 0x4d, 0xe0, 0xaa, 0xe4, 0xea, 0x07, 0x8a,
|
|
0x6f, 0x49, 0x25, 0x50, 0x21, 0xb9, 0xce, 0x31, 0xd9, 0x17, 0x99, 0xc0, 0xc4, 0x9d, 0x4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