gorpc

package
v0.0.0-...-6515077 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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