Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional custom.extension.HttpMethodOption http = 1001;
E_Http = &file_custom_extension_extension_proto_extTypes[0]
)
Extension fields to descriptorpb.MethodOptions.
View Source
var File_custom_extension_extension_proto protoreflect.FileDescriptor
Functions ¶
func GetGrpcMethods ¶
GetGrpcMethods .
func GetServiceGrpcMethods ¶
GetServiceGrpcMethods .
func MethodShouldBeGrpcSkipped ¶
MethodShouldBeGrpcSkipped .
Types ¶
type HttpMethodOption ¶
type HttpMethodOption struct { // if true, means is pure http method, do not generate grpc code, and force register http handler. // default is false, will generate both grpc and http code. Pure bool `protobuf:"varint,1,opt,name=pure,proto3" json:"pure,omitempty"` // contains filtered or unexported fields }
func (*HttpMethodOption) Descriptor
deprecated
func (*HttpMethodOption) Descriptor() ([]byte, []int)
Deprecated: Use HttpMethodOption.ProtoReflect.Descriptor instead.
func (*HttpMethodOption) GetPure ¶
func (x *HttpMethodOption) GetPure() bool
func (*HttpMethodOption) ProtoMessage ¶
func (*HttpMethodOption) ProtoMessage()
func (*HttpMethodOption) ProtoReflect ¶
func (x *HttpMethodOption) ProtoReflect() protoreflect.Message
func (*HttpMethodOption) Reset ¶
func (x *HttpMethodOption) Reset()
func (*HttpMethodOption) String ¶
func (x *HttpMethodOption) String() string
Click to show internal directories.
Click to hide internal directories.