options

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional vv.options.Handler authorization = 74500;
	E_Authorization = &file_options_proto_extTypes[2]
	// optional vv.options.Handler proxy_authorization = 74501;
	E_ProxyAuthorization = &file_options_proto_extTypes[3]
	// optional vv.options.Handler mix_authorization = 74502;
	E_MixAuthorization = &file_options_proto_extTypes[4]
	// optional vv.options.Handler whitelisting = 74503;
	E_Whitelisting = &file_options_proto_extTypes[5]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var (
	// for string: not empty; numeric: not zero; bytes: not nil; map: not nil
	//
	// optional bool require = 74600;
	E_Require = &file_options_proto_extTypes[6]
	// optional string eq = 74601;
	E_Eq = &file_options_proto_extTypes[7] // equal to
	// optional string ne = 74602;
	E_Ne = &file_options_proto_extTypes[8] // not equal to
	// optional uint32 lt = 74603;
	E_Lt = &file_options_proto_extTypes[9] // less then
	// optional uint32 le = 74604;
	E_Le = &file_options_proto_extTypes[10] // less than or equal to
	// optional uint32 gt = 74605;
	E_Gt = &file_options_proto_extTypes[11] // greater than
	// optional uint32 ge = 74606;
	E_Ge = &file_options_proto_extTypes[12] // greater than or equal to
	// optional uint32 max_cap = 74607;
	E_MaxCap = &file_options_proto_extTypes[13] // capacity by slice/map/bytes
	// optional uint32 min_cap = 74608;
	E_MinCap = &file_options_proto_extTypes[14] // capacity by slice/map/bytes
	// optional bool cst_datetime = 74609;
	E_CstDatetime = &file_options_proto_extTypes[15] // 2006-01-02 15:04:05
	// optional bool cst_minute = 74610;
	E_CstMinute = &file_options_proto_extTypes[16] // 2006-01-02 15:04
	// optional bool cn_mobile = 74611;
	E_CnMobile = &file_options_proto_extTypes[17] // 10000000000
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Handler

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

func (*Handler) Descriptor deprecated

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

Deprecated: Use Handler.ProtoReflect.Descriptor instead.

func (*Handler) GetName

func (x *Handler) GetName() string

func (*Handler) ProtoMessage

func (*Handler) ProtoMessage()

func (*Handler) ProtoReflect

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

func (*Handler) Reset

func (x *Handler) Reset()

func (*Handler) String

func (x *Handler) String() string

Jump to

Keyboard shortcuts

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