plugin_protobuf

package
v0.0.0-...-a32e77c Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional string default_string = 50000;
	E_DefaultString = &file__08_grpc_15_customized_protobuf_plugin_plugin_protobuf_plugin_proto_extTypes[2]
	// optional int32 default_int = 50001;
	E_DefaultInt = &file__08_grpc_15_customized_protobuf_plugin_plugin_protobuf_plugin_proto_extTypes[3]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var (
	// optional interceptor.MethodHandler method_handler = 63500;
	E_MethodHandler = &file__08_grpc_15_customized_protobuf_plugin_plugin_protobuf_plugin_proto_extTypes[1]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var (
	// optional interceptor.ServiceHandler service_handler = 63501;
	E_ServiceHandler = &file__08_grpc_15_customized_protobuf_plugin_plugin_protobuf_plugin_proto_extTypes[0]
)

Extension fields to descriptorpb.ServiceOptions.

View Source
var File__08_grpc_15_customized_protobuf_plugin_plugin_protobuf_plugin_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MethodHandler

type MethodHandler struct {
	Authorization *string `protobuf:"bytes,1,opt,name=authorization,proto3,oneof" json:"authorization,omitempty"` // login token
	Whitelist     *string `protobuf:"bytes,2,opt,name=whitelist,proto3,oneof" json:"whitelist,omitempty"`         // ip whitelist
	Logger        *bool   `protobuf:"varint,3,opt,name=logger,proto3,oneof" json:"logger,omitempty"`              // logger
	// contains filtered or unexported fields
}

func (*MethodHandler) Descriptor deprecated

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

Deprecated: Use MethodHandler.ProtoReflect.Descriptor instead.

func (*MethodHandler) GetAuthorization

func (x *MethodHandler) GetAuthorization() string

func (*MethodHandler) GetLogger

func (x *MethodHandler) GetLogger() bool

func (*MethodHandler) GetWhitelist

func (x *MethodHandler) GetWhitelist() string

func (*MethodHandler) ProtoMessage

func (*MethodHandler) ProtoMessage()

func (*MethodHandler) ProtoReflect

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

func (*MethodHandler) Reset

func (x *MethodHandler) Reset()

func (*MethodHandler) String

func (x *MethodHandler) String() string

type ServiceHandler

type ServiceHandler struct {
	Authorization *string `protobuf:"bytes,1,opt,name=authorization,proto3,oneof" json:"authorization,omitempty"` // login token
	Whitelist     *string `protobuf:"bytes,2,opt,name=whitelist,proto3,oneof" json:"whitelist,omitempty"`         // ip whitelist
	Logger        *bool   `protobuf:"varint,3,opt,name=logger,proto3,oneof" json:"logger,omitempty"`              // logger
	// contains filtered or unexported fields
}

func (*ServiceHandler) Descriptor deprecated

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

Deprecated: Use ServiceHandler.ProtoReflect.Descriptor instead.

func (*ServiceHandler) GetAuthorization

func (x *ServiceHandler) GetAuthorization() string

func (*ServiceHandler) GetLogger

func (x *ServiceHandler) GetLogger() bool

func (*ServiceHandler) GetWhitelist

func (x *ServiceHandler) GetWhitelist() string

func (*ServiceHandler) ProtoMessage

func (*ServiceHandler) ProtoMessage()

func (*ServiceHandler) ProtoReflect

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

func (*ServiceHandler) Reset

func (x *ServiceHandler) Reset()

func (*ServiceHandler) String

func (x *ServiceHandler) String() string

Jump to

Keyboard shortcuts

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