Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pingpong_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Ping ¶
type Ping struct { Stamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=stamp,proto3" json:"stamp,omitempty"` // contains filtered or unexported fields }
message designed to represent a PING request.
func (*Ping) Descriptor
deprecated
func (*Ping) GetStamp ¶
func (x *Ping) GetStamp() *timestamppb.Timestamp
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) ProtoReflect ¶
func (x *Ping) ProtoReflect() protoreflect.Message
type Pong ¶
type Pong struct { Reqtime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=reqtime,proto3" json:"reqtime,omitempty"` Resptime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=resptime,proto3" json:"resptime,omitempty"` // contains filtered or unexported fields }
message designed to represent a PONG response.
func (*Pong) Descriptor
deprecated
func (*Pong) GetReqtime ¶
func (x *Pong) GetReqtime() *timestamppb.Timestamp
func (*Pong) GetResptime ¶
func (x *Pong) GetResptime() *timestamppb.Timestamp
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) ProtoReflect ¶
func (x *Pong) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.