Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- type NodeInfo
- func (*NodeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfo) GetChannels() []byte
- func (x *NodeInfo) GetListenAddr() string
- func (x *NodeInfo) GetMoniker() string
- func (x *NodeInfo) GetNetwork() string
- func (x *NodeInfo) GetNodeId() string
- func (x *NodeInfo) GetOther() *NodeInfoOther
- func (x *NodeInfo) GetProtocolVersion() *ProtocolVersion
- func (x *NodeInfo) GetVersion() string
- func (*NodeInfo) ProtoMessage()
- func (x *NodeInfo) ProtoReflect() protoreflect.Message
- func (x *NodeInfo) Reset()
- func (x *NodeInfo) String() string
- type NodeInfoOther
- func (*NodeInfoOther) Descriptor() ([]byte, []int)deprecated
- func (x *NodeInfoOther) GetRpcAddress() string
- func (x *NodeInfoOther) GetTxIndex() string
- func (*NodeInfoOther) ProtoMessage()
- func (x *NodeInfoOther) ProtoReflect() protoreflect.Message
- func (x *NodeInfoOther) Reset()
- func (x *NodeInfoOther) String() string
- type PeerAddressInfo
- func (*PeerAddressInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PeerAddressInfo) GetAddress() string
- func (x *PeerAddressInfo) GetDialFailures() uint32
- func (x *PeerAddressInfo) GetLastDialFailure() *timestamppb.Timestamp
- func (x *PeerAddressInfo) GetLastDialSuccess() *timestamppb.Timestamp
- func (*PeerAddressInfo) ProtoMessage()
- func (x *PeerAddressInfo) ProtoReflect() protoreflect.Message
- func (x *PeerAddressInfo) Reset()
- func (x *PeerAddressInfo) String() string
- type PeerInfo
- func (*PeerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PeerInfo) GetAddressInfo() []*PeerAddressInfo
- func (x *PeerInfo) GetId() string
- func (x *PeerInfo) GetLastConnected() *timestamppb.Timestamp
- func (*PeerInfo) ProtoMessage()
- func (x *PeerInfo) ProtoReflect() protoreflect.Message
- func (x *PeerInfo) Reset()
- func (x *PeerInfo) String() string
- type ProtocolVersion
- func (*ProtocolVersion) Descriptor() ([]byte, []int)deprecated
- func (x *ProtocolVersion) GetApp() uint64
- func (x *ProtocolVersion) GetBlock() uint64
- func (x *ProtocolVersion) GetP2P() uint64
- func (*ProtocolVersion) ProtoMessage()
- func (x *ProtocolVersion) ProtoReflect() protoreflect.Message
- func (x *ProtocolVersion) Reset()
- func (x *ProtocolVersion) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tendermint_p2p_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NodeInfo ¶
type NodeInfo struct { ProtocolVersion *ProtocolVersion `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"` NodeId string `protobuf:"bytes,2,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` ListenAddr string `protobuf:"bytes,3,opt,name=listen_addr,json=listenAddr,proto3" json:"listen_addr,omitempty"` Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"` Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` Channels []byte `protobuf:"bytes,6,opt,name=channels,proto3" json:"channels,omitempty"` Moniker string `protobuf:"bytes,7,opt,name=moniker,proto3" json:"moniker,omitempty"` Other *NodeInfoOther `protobuf:"bytes,8,opt,name=other,proto3" json:"other,omitempty"` // contains filtered or unexported fields }
func (*NodeInfo) GetOther ¶
func (x *NodeInfo) GetOther() *NodeInfoOther
func (*NodeInfo) GetProtocolVersion ¶
func (x *NodeInfo) GetProtocolVersion() *ProtocolVersion
func (*NodeInfo) ProtoReflect ¶
func (x *NodeInfo) ProtoReflect() protoreflect.Message
type NodeInfoOther ¶
type NodeInfoOther struct { TxIndex string `protobuf:"bytes,1,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` RpcAddress string `protobuf:"bytes,2,opt,name=rpc_address,json=rpcAddress,proto3" json:"rpc_address,omitempty"` // contains filtered or unexported fields }
func (*NodeInfoOther) Descriptor
deprecated
func (*NodeInfoOther) Descriptor() ([]byte, []int)
Deprecated: Use NodeInfoOther.ProtoReflect.Descriptor instead.
func (*NodeInfoOther) GetRpcAddress ¶
func (x *NodeInfoOther) GetRpcAddress() string
func (*NodeInfoOther) GetTxIndex ¶
func (x *NodeInfoOther) GetTxIndex() string
func (*NodeInfoOther) ProtoMessage ¶
func (*NodeInfoOther) ProtoMessage()
func (*NodeInfoOther) ProtoReflect ¶
func (x *NodeInfoOther) ProtoReflect() protoreflect.Message
func (*NodeInfoOther) Reset ¶
func (x *NodeInfoOther) Reset()
func (*NodeInfoOther) String ¶
func (x *NodeInfoOther) String() string
type PeerAddressInfo ¶
type PeerAddressInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` LastDialSuccess *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_dial_success,json=lastDialSuccess,proto3" json:"last_dial_success,omitempty"` LastDialFailure *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_dial_failure,json=lastDialFailure,proto3" json:"last_dial_failure,omitempty"` DialFailures uint32 `protobuf:"varint,4,opt,name=dial_failures,json=dialFailures,proto3" json:"dial_failures,omitempty"` // contains filtered or unexported fields }
func (*PeerAddressInfo) Descriptor
deprecated
func (*PeerAddressInfo) Descriptor() ([]byte, []int)
Deprecated: Use PeerAddressInfo.ProtoReflect.Descriptor instead.
func (*PeerAddressInfo) GetAddress ¶
func (x *PeerAddressInfo) GetAddress() string
func (*PeerAddressInfo) GetDialFailures ¶
func (x *PeerAddressInfo) GetDialFailures() uint32
func (*PeerAddressInfo) GetLastDialFailure ¶
func (x *PeerAddressInfo) GetLastDialFailure() *timestamppb.Timestamp
func (*PeerAddressInfo) GetLastDialSuccess ¶
func (x *PeerAddressInfo) GetLastDialSuccess() *timestamppb.Timestamp
func (*PeerAddressInfo) ProtoMessage ¶
func (*PeerAddressInfo) ProtoMessage()
func (*PeerAddressInfo) ProtoReflect ¶
func (x *PeerAddressInfo) ProtoReflect() protoreflect.Message
func (*PeerAddressInfo) Reset ¶
func (x *PeerAddressInfo) Reset()
func (*PeerAddressInfo) String ¶
func (x *PeerAddressInfo) String() string
type PeerInfo ¶
type PeerInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AddressInfo []*PeerAddressInfo `protobuf:"bytes,2,rep,name=address_info,json=addressInfo,proto3" json:"address_info,omitempty"` LastConnected *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_connected,json=lastConnected,proto3" json:"last_connected,omitempty"` // contains filtered or unexported fields }
func (*PeerInfo) GetAddressInfo ¶
func (x *PeerInfo) GetAddressInfo() []*PeerAddressInfo
func (*PeerInfo) GetLastConnected ¶
func (x *PeerInfo) GetLastConnected() *timestamppb.Timestamp
func (*PeerInfo) ProtoReflect ¶
func (x *PeerInfo) ProtoReflect() protoreflect.Message
type ProtocolVersion ¶
type ProtocolVersion struct { P2P uint64 `protobuf:"varint,1,opt,name=p2p,proto3" json:"p2p,omitempty"` Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` App uint64 `protobuf:"varint,3,opt,name=app,proto3" json:"app,omitempty"` // contains filtered or unexported fields }
func (*ProtocolVersion) Descriptor
deprecated
func (*ProtocolVersion) Descriptor() ([]byte, []int)
Deprecated: Use ProtocolVersion.ProtoReflect.Descriptor instead.
func (*ProtocolVersion) GetApp ¶
func (x *ProtocolVersion) GetApp() uint64
func (*ProtocolVersion) GetBlock ¶
func (x *ProtocolVersion) GetBlock() uint64
func (*ProtocolVersion) GetP2P ¶
func (x *ProtocolVersion) GetP2P() uint64
func (*ProtocolVersion) ProtoMessage ¶
func (*ProtocolVersion) ProtoMessage()
func (*ProtocolVersion) ProtoReflect ¶
func (x *ProtocolVersion) ProtoReflect() protoreflect.Message
func (*ProtocolVersion) Reset ¶
func (x *ProtocolVersion) Reset()
func (*ProtocolVersion) String ¶
func (x *ProtocolVersion) String() string
Click to show internal directories.
Click to hide internal directories.