Documentation ¶
Index ¶
- Variables
- type SwaggerRule
- func (*SwaggerRule) Descriptor() ([]byte, []int)deprecated
- func (x *SwaggerRule) GetDescription() string
- func (x *SwaggerRule) GetMethod() string
- func (x *SwaggerRule) GetTitle() string
- func (*SwaggerRule) ProtoMessage()
- func (x *SwaggerRule) ProtoReflect() protoreflect.Message
- func (x *SwaggerRule) Reset()
- func (x *SwaggerRule) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // optional string alias = 50001; E_Alias = &file_gorpc_proto_extTypes[0] // rpc alias // optional gorpc.SwaggerRule swagger = 50002; E_Swagger = &file_gorpc_proto_extTypes[1] // swagger api )
Extension fields to descriptorpb.MethodOptions.
View Source
var File_gorpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SwaggerRule ¶
type SwaggerRule struct { Title string `protobuf:"bytes,50103,opt,name=title,proto3" json:"title,omitempty"` Method string `protobuf:"bytes,50104,opt,name=method,proto3" json:"method,omitempty"` Description string `protobuf:"bytes,50105,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
func (*SwaggerRule) Descriptor
deprecated
func (*SwaggerRule) Descriptor() ([]byte, []int)
Deprecated: Use SwaggerRule.ProtoReflect.Descriptor instead.
func (*SwaggerRule) GetDescription ¶
func (x *SwaggerRule) GetDescription() string
func (*SwaggerRule) GetMethod ¶
func (x *SwaggerRule) GetMethod() string
func (*SwaggerRule) GetTitle ¶
func (x *SwaggerRule) GetTitle() string
func (*SwaggerRule) ProtoMessage ¶
func (*SwaggerRule) ProtoMessage()
func (*SwaggerRule) ProtoReflect ¶
func (x *SwaggerRule) ProtoReflect() protoreflect.Message
func (*SwaggerRule) Reset ¶
func (x *SwaggerRule) Reset()
func (*SwaggerRule) String ¶
func (x *SwaggerRule) String() string
Click to show internal directories.
Click to hide internal directories.