Versions in this module Expand all Collapse all v0 v0.1.0 Sep 10, 2022 Changes in this version + var File_proto_v1_ping_proto protoreflect.FileDescriptor + var PingService_ServiceDesc = grpc.ServiceDesc + func RegisterPingServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterPingServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PingServiceClient) error + func RegisterPingServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterPingServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PingServiceServer) error + func RegisterPingServiceServer(s grpc.ServiceRegistrar, srv PingServiceServer) + type PingRequest struct + PeerId string + func (*PingRequest) Descriptor() ([]byte, []int) + func (*PingRequest) ProtoMessage() + func (x *PingRequest) GetPeerId() string + func (x *PingRequest) ProtoReflect() protoreflect.Message + func (x *PingRequest) Reset() + func (x *PingRequest) String() string + type PingResponse struct + Duration string + Error string + func (*PingResponse) Descriptor() ([]byte, []int) + func (*PingResponse) ProtoMessage() + func (x *PingResponse) GetDuration() string + func (x *PingResponse) GetError() string + func (x *PingResponse) ProtoReflect() protoreflect.Message + func (x *PingResponse) Reset() + func (x *PingResponse) String() string + type PingServiceClient interface + Ping func(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) + func NewPingServiceClient(cc grpc.ClientConnInterface) PingServiceClient + type PingServiceServer interface + Ping func(context.Context, *PingRequest) (*PingResponse, error) + type UnimplementedPingServiceServer struct + func (UnimplementedPingServiceServer) Ping(context.Context, *PingRequest) (*PingResponse, error) + type UnsafePingServiceServer interface