Documentation ¶
Index ¶
- Variables
- type NowRequest
- type NowResponse
- func (*NowResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NowResponse) GetDate() string
- func (x *NowResponse) GetRequestId() string
- func (*NowResponse) ProtoMessage()
- func (x *NowResponse) ProtoReflect() protoreflect.Message
- func (x *NowResponse) Reset()
- func (x *NowResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_go_net_grpc_example_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NowRequest ¶
type NowRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=RequestId,proto3" json:"request_id,omitempty"` //请求ID // contains filtered or unexported fields }
func (*NowRequest) Descriptor
deprecated
func (*NowRequest) Descriptor() ([]byte, []int)
Deprecated: Use NowRequest.ProtoReflect.Descriptor instead.
func (*NowRequest) GetRequestId ¶
func (x *NowRequest) GetRequestId() string
func (*NowRequest) ProtoMessage ¶
func (*NowRequest) ProtoMessage()
func (*NowRequest) ProtoReflect ¶
func (x *NowRequest) ProtoReflect() protoreflect.Message
func (*NowRequest) Reset ¶
func (x *NowRequest) Reset()
func (*NowRequest) String ¶
func (x *NowRequest) String() string
type NowResponse ¶
type NowResponse struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=RequestId,proto3" json:"request_id,omitempty"` // 请求ID Date string `protobuf:"bytes,2,opt,name=date,json=Date,proto3" json:"date,omitempty"` //当前时间 // contains filtered or unexported fields }
func (*NowResponse) Descriptor
deprecated
func (*NowResponse) Descriptor() ([]byte, []int)
Deprecated: Use NowResponse.ProtoReflect.Descriptor instead.
func (*NowResponse) GetDate ¶
func (x *NowResponse) GetDate() string
func (*NowResponse) GetRequestId ¶
func (x *NowResponse) GetRequestId() string
func (*NowResponse) ProtoMessage ¶
func (*NowResponse) ProtoMessage()
func (*NowResponse) ProtoReflect ¶
func (x *NowResponse) ProtoReflect() protoreflect.Message
func (*NowResponse) Reset ¶
func (x *NowResponse) Reset()
func (*NowResponse) String ¶
func (x *NowResponse) String() string
Click to show internal directories.
Click to hide internal directories.