echo

package
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use WechatPay.ProtoReflect.Descriptor instead.

func (*WechatPay) GetId

func (x *WechatPay) GetId() int64

func (*WechatPay) GetName

func (x *WechatPay) GetName() string

func (*WechatPay) ProtoMessage

func (*WechatPay) ProtoMessage()

func (*WechatPay) ProtoReflect

func (x *WechatPay) ProtoReflect() protoreflect.Message

func (*WechatPay) Reset

func (x *WechatPay) Reset()

func (*WechatPay) String

func (x *WechatPay) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL