options

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 5 Imported by: 1

README

options

自定义的protobuf option扩展项

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional bool journal = 74370;
	E_Journal = &file_options_proto_extTypes[0]
	// optional string metrics_alias = 74371;
	E_MetricsAlias = &file_options_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional bluekaki.vv.options.Handler authorization = 74372;
	E_Authorization = &file_options_proto_extTypes[2]
	// optional bluekaki.vv.options.Handler proxy_authorization = 74373;
	E_ProxyAuthorization = &file_options_proto_extTypes[3]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var (
	// for string: not empty; numeric: not zero; bytes: not nil; map: not nil
	//
	// optional bool require = 74374;
	E_Require = &file_options_proto_extTypes[4]
	// optional string eq = 74375;
	E_Eq = &file_options_proto_extTypes[5] // equal to
	// optional string ne = 74376;
	E_Ne = &file_options_proto_extTypes[6] // not equal to
	// optional string lt = 74377;
	E_Lt = &file_options_proto_extTypes[7] // less then
	// optional string le = 74378;
	E_Le = &file_options_proto_extTypes[8] // less than or equal to
	// optional string gt = 74379;
	E_Gt = &file_options_proto_extTypes[9] // greater than
	// optional string ge = 74380;
	E_Ge = &file_options_proto_extTypes[10] // greater than or equal to
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Handler added in v0.2.7

type Handler struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Handler) Descriptor deprecated added in v0.2.7

func (*Handler) Descriptor() ([]byte, []int)

Deprecated: Use Handler.ProtoReflect.Descriptor instead.

func (*Handler) GetName added in v0.2.7

func (x *Handler) GetName() string

func (*Handler) ProtoMessage added in v0.2.7

func (*Handler) ProtoMessage()

func (*Handler) ProtoReflect added in v0.2.7

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

func (*Handler) Reset added in v0.2.7

func (x *Handler) Reset()

func (*Handler) String added in v0.2.7

func (x *Handler) String() string

Jump to

Keyboard shortcuts

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