Documentation ¶
Index ¶
- Variables
- type MethodHandler
- func (*MethodHandler) Descriptor() ([]byte, []int)deprecated
- func (x *MethodHandler) GetAuthorization() string
- func (x *MethodHandler) GetLogger() bool
- func (x *MethodHandler) GetWhitelist() string
- func (*MethodHandler) ProtoMessage()
- func (x *MethodHandler) ProtoReflect() protoreflect.Message
- func (x *MethodHandler) Reset()
- func (x *MethodHandler) String() string
- type ServiceHandler
- func (*ServiceHandler) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceHandler) GetAuthorization() string
- func (x *ServiceHandler) GetLogger() bool
- func (x *ServiceHandler) GetWhitelist() string
- func (*ServiceHandler) ProtoMessage()
- func (x *ServiceHandler) ProtoReflect() protoreflect.Message
- func (x *ServiceHandler) Reset()
- func (x *ServiceHandler) String() string
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
Click to show internal directories.
Click to hide internal directories.