Versions in this module Expand all Collapse all v0 v0.0.7 Jan 23, 2024 Changes in this version + var File_peer_service_proto protoreflect.FileDescriptor + var PeerService_ServiceDesc = grpc.ServiceDesc + func RegisterPeerServiceServer(s grpc.ServiceRegistrar, srv PeerServiceServer) + type GetPeersListRequest struct + IncludeAllSubnetworks bool + SubnetworkID []byte + func (*GetPeersListRequest) Descriptor() ([]byte, []int) + func (*GetPeersListRequest) ProtoMessage() + func (x *GetPeersListRequest) GetIncludeAllSubnetworks() bool + func (x *GetPeersListRequest) GetSubnetworkID() []byte + func (x *GetPeersListRequest) ProtoReflect() protoreflect.Message + func (x *GetPeersListRequest) Reset() + func (x *GetPeersListRequest) String() string + type GetPeersListResponse struct + Addresses []*NetAddress + func (*GetPeersListResponse) Descriptor() ([]byte, []int) + func (*GetPeersListResponse) ProtoMessage() + func (x *GetPeersListResponse) GetAddresses() []*NetAddress + func (x *GetPeersListResponse) ProtoReflect() protoreflect.Message + func (x *GetPeersListResponse) Reset() + func (x *GetPeersListResponse) String() string + type NetAddress struct + IP []byte + Port uint32 + Timestamp int64 + func (*NetAddress) Descriptor() ([]byte, []int) + func (*NetAddress) ProtoMessage() + func (x *NetAddress) GetIP() []byte + func (x *NetAddress) GetPort() uint32 + func (x *NetAddress) GetTimestamp() int64 + func (x *NetAddress) ProtoReflect() protoreflect.Message + func (x *NetAddress) Reset() + func (x *NetAddress) String() string + type PeerServiceClient interface + GetPeersList func(ctx context.Context, in *GetPeersListRequest, opts ...grpc.CallOption) (*GetPeersListResponse, error) + func NewPeerServiceClient(cc grpc.ClientConnInterface) PeerServiceClient + type PeerServiceServer interface + GetPeersList func(context.Context, *GetPeersListRequest) (*GetPeersListResponse, error) + type UnimplementedPeerServiceServer struct + func (UnimplementedPeerServiceServer) GetPeersList(context.Context, *GetPeersListRequest) (*GetPeersListResponse, error) + type UnsafePeerServiceServer interface