Documentation ¶
Index ¶
- Variables
- type HelloReply
- type HelloRequest
- func (*HelloRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HelloRequest) GetMsg() string
- func (x *HelloRequest) GetNoop() string
- func (m *HelloRequest) GetOneOfPay() isHelloRequest_OneOfPay
- func (x *HelloRequest) GetWx() *WechatPay
- func (*HelloRequest) ProtoMessage()
- func (x *HelloRequest) ProtoReflect() protoreflect.Message
- func (x *HelloRequest) Reset()
- func (x *HelloRequest) String() string
- type HelloRequest_Noop
- type HelloRequest_Wx
- type WechatPay
Constants ¶
This section is empty.
Variables ¶
View Source
var File_hello_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HelloReply ¶
type HelloReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*HelloReply) Descriptor
deprecated
func (*HelloReply) Descriptor() ([]byte, []int)
Deprecated: Use HelloReply.ProtoReflect.Descriptor instead.
func (*HelloReply) GetMsg ¶
func (x *HelloReply) GetMsg() string
func (*HelloReply) ProtoMessage ¶
func (*HelloReply) ProtoMessage()
func (*HelloReply) ProtoReflect ¶
func (x *HelloReply) ProtoReflect() protoreflect.Message
func (*HelloReply) Reset ¶
func (x *HelloReply) Reset()
func (*HelloReply) String ¶
func (x *HelloReply) String() string
type HelloRequest ¶
type HelloRequest struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // Types that are assignable to OneOfPay: // *HelloRequest_Noop // *HelloRequest_Wx OneOfPay isHelloRequest_OneOfPay `protobuf_oneof:"one_of_pay"` // contains filtered or unexported fields }
func (*HelloRequest) Descriptor
deprecated
func (*HelloRequest) Descriptor() ([]byte, []int)
Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead.
func (*HelloRequest) GetMsg ¶
func (x *HelloRequest) GetMsg() string
func (*HelloRequest) GetNoop ¶
func (x *HelloRequest) GetNoop() string
func (*HelloRequest) GetOneOfPay ¶
func (m *HelloRequest) GetOneOfPay() isHelloRequest_OneOfPay
func (*HelloRequest) GetWx ¶
func (x *HelloRequest) GetWx() *WechatPay
func (*HelloRequest) ProtoMessage ¶
func (*HelloRequest) ProtoMessage()
func (*HelloRequest) ProtoReflect ¶
func (x *HelloRequest) ProtoReflect() protoreflect.Message
func (*HelloRequest) Reset ¶
func (x *HelloRequest) Reset()
func (*HelloRequest) String ¶
func (x *HelloRequest) String() string
type HelloRequest_Noop ¶
type HelloRequest_Noop struct {
Noop string `protobuf:"bytes,2,opt,name=noop,proto3,oneof"`
}
type HelloRequest_Wx ¶
type HelloRequest_Wx struct {
Wx *WechatPay `protobuf:"bytes,3,opt,name=wx,proto3,oneof"`
}
type WechatPay ¶
type WechatPay struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*WechatPay) Descriptor
deprecated
func (*WechatPay) ProtoMessage ¶
func (*WechatPay) ProtoMessage()
func (*WechatPay) ProtoReflect ¶
func (x *WechatPay) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.