Documentation ¶
Index ¶
- Variables
- type SomeStruct
- type TestRequest
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TestResponse) GetCode() int32
- func (x *TestResponse) GetMsg() string
- func (*TestResponse) ProtoMessage()
- func (x *TestResponse) ProtoReflect() protoreflect.Message
- func (x *TestResponse) Reset()
- func (x *TestResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_proto_test_somestruct_proto protoreflect.FileDescriptor
View Source
var File_proto_test_testrequest_proto protoreflect.FileDescriptor
View Source
var File_proto_test_testresponse_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SomeStruct ¶
type SomeStruct struct { A int32 `protobuf:"varint,1,opt,name=A,proto3" json:"A,omitempty"` B string `protobuf:"bytes,2,opt,name=B,proto3" json:"B,omitempty"` // contains filtered or unexported fields }
func (*SomeStruct) Descriptor
deprecated
func (*SomeStruct) Descriptor() ([]byte, []int)
Deprecated: Use SomeStruct.ProtoReflect.Descriptor instead.
func (*SomeStruct) GetA ¶
func (x *SomeStruct) GetA() int32
func (*SomeStruct) GetB ¶
func (x *SomeStruct) GetB() string
func (*SomeStruct) ProtoMessage ¶
func (*SomeStruct) ProtoMessage()
func (*SomeStruct) ProtoReflect ¶
func (x *SomeStruct) ProtoReflect() protoreflect.Message
func (*SomeStruct) Reset ¶
func (x *SomeStruct) Reset()
func (*SomeStruct) String ¶
func (x *SomeStruct) String() string
type TestRequest ¶
type TestRequest struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*TestRequest) Descriptor
deprecated
func (*TestRequest) Descriptor() ([]byte, []int)
Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
func (*TestRequest) GetMsg ¶
func (x *TestRequest) GetMsg() string
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) ProtoReflect ¶
func (x *TestRequest) ProtoReflect() protoreflect.Message
func (*TestRequest) Reset ¶
func (x *TestRequest) Reset()
func (*TestRequest) String ¶
func (x *TestRequest) String() string
type TestResponse ¶
type TestResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*TestResponse) Descriptor
deprecated
func (*TestResponse) Descriptor() ([]byte, []int)
Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
func (*TestResponse) GetCode ¶
func (x *TestResponse) GetCode() int32
func (*TestResponse) GetMsg ¶
func (x *TestResponse) GetMsg() string
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) ProtoReflect ¶
func (x *TestResponse) ProtoReflect() protoreflect.Message
func (*TestResponse) Reset ¶
func (x *TestResponse) Reset()
func (*TestResponse) String ¶
func (x *TestResponse) String() string
Click to show internal directories.
Click to hide internal directories.