Documentation ¶
Index ¶
- Variables
- func RegisterDynamicPluginServiceServer(s grpc.ServiceRegistrar, srv DynamicPluginServiceServer)
- type DynamicPluginServiceClient
- type DynamicPluginServiceServer
- type DynamicPluginUpdateRequest
- func (*DynamicPluginUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicPluginUpdateRequest) GetAutowireType() string
- func (x *DynamicPluginUpdateRequest) GetPluginFile() []byte
- func (x *DynamicPluginUpdateRequest) GetPluginName() string
- func (x *DynamicPluginUpdateRequest) GetSdid() string
- func (*DynamicPluginUpdateRequest) ProtoMessage()
- func (x *DynamicPluginUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *DynamicPluginUpdateRequest) Reset()
- func (x *DynamicPluginUpdateRequest) String() string
- type DynamicPluginUpdateResponse
- func (*DynamicPluginUpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DynamicPluginUpdateResponse) GetMessage() string
- func (x *DynamicPluginUpdateResponse) GetSuccess() bool
- func (*DynamicPluginUpdateResponse) ProtoMessage()
- func (x *DynamicPluginUpdateResponse) ProtoReflect() protoreflect.Message
- func (x *DynamicPluginUpdateResponse) Reset()
- func (x *DynamicPluginUpdateResponse) String() string
- type UnimplementedDynamicPluginServiceServer
- type UnsafeDynamicPluginServiceServer
Constants ¶
This section is empty.
Variables ¶
var DynamicPluginService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ioc_golang.aop.dynamic_plugin.DynamicPluginService", HandlerType: (*DynamicPluginServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Update", Handler: _DynamicPluginService_Update_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "extension/aop/dynamic_plugin/api/ioc_golang/aop/dynamic_plugin/dynamic_plugin.proto", }
DynamicPluginService_ServiceDesc is the grpc.ServiceDesc for DynamicPluginService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_extension_aop_dynamic_plugin_api_ioc_golang_aop_dynamic_plugin_dynamic_plugin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDynamicPluginServiceServer ¶
func RegisterDynamicPluginServiceServer(s grpc.ServiceRegistrar, srv DynamicPluginServiceServer)
Types ¶
type DynamicPluginServiceClient ¶
type DynamicPluginServiceClient interface {
Update(ctx context.Context, in *DynamicPluginUpdateRequest, opts ...grpc.CallOption) (*DynamicPluginUpdateResponse, error)
}
DynamicPluginServiceClient is the client API for DynamicPluginService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDynamicPluginServiceClient ¶
func NewDynamicPluginServiceClient(cc grpc.ClientConnInterface) DynamicPluginServiceClient
type DynamicPluginServiceServer ¶
type DynamicPluginServiceServer interface { Update(context.Context, *DynamicPluginUpdateRequest) (*DynamicPluginUpdateResponse, error) // contains filtered or unexported methods }
DynamicPluginServiceServer is the server API for DynamicPluginService service. All implementations must embed UnimplementedDynamicPluginServiceServer for forward compatibility
type DynamicPluginUpdateRequest ¶
type DynamicPluginUpdateRequest struct { Sdid string `protobuf:"bytes,1,opt,name=sdid,proto3" json:"sdid,omitempty"` AutowireType string `protobuf:"bytes,2,opt,name=autowireType,proto3" json:"autowireType,omitempty"` PluginFile []byte `protobuf:"bytes,3,opt,name=pluginFile,proto3" json:"pluginFile,omitempty"` PluginName string `protobuf:"bytes,4,opt,name=pluginName,proto3" json:"pluginName,omitempty"` // contains filtered or unexported fields }
func (*DynamicPluginUpdateRequest) Descriptor
deprecated
func (*DynamicPluginUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DynamicPluginUpdateRequest.ProtoReflect.Descriptor instead.
func (*DynamicPluginUpdateRequest) GetAutowireType ¶
func (x *DynamicPluginUpdateRequest) GetAutowireType() string
func (*DynamicPluginUpdateRequest) GetPluginFile ¶
func (x *DynamicPluginUpdateRequest) GetPluginFile() []byte
func (*DynamicPluginUpdateRequest) GetPluginName ¶
func (x *DynamicPluginUpdateRequest) GetPluginName() string
func (*DynamicPluginUpdateRequest) GetSdid ¶
func (x *DynamicPluginUpdateRequest) GetSdid() string
func (*DynamicPluginUpdateRequest) ProtoMessage ¶
func (*DynamicPluginUpdateRequest) ProtoMessage()
func (*DynamicPluginUpdateRequest) ProtoReflect ¶
func (x *DynamicPluginUpdateRequest) ProtoReflect() protoreflect.Message
func (*DynamicPluginUpdateRequest) Reset ¶
func (x *DynamicPluginUpdateRequest) Reset()
func (*DynamicPluginUpdateRequest) String ¶
func (x *DynamicPluginUpdateRequest) String() string
type DynamicPluginUpdateResponse ¶
type DynamicPluginUpdateResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DynamicPluginUpdateResponse) Descriptor
deprecated
func (*DynamicPluginUpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use DynamicPluginUpdateResponse.ProtoReflect.Descriptor instead.
func (*DynamicPluginUpdateResponse) GetMessage ¶
func (x *DynamicPluginUpdateResponse) GetMessage() string
func (*DynamicPluginUpdateResponse) GetSuccess ¶
func (x *DynamicPluginUpdateResponse) GetSuccess() bool
func (*DynamicPluginUpdateResponse) ProtoMessage ¶
func (*DynamicPluginUpdateResponse) ProtoMessage()
func (*DynamicPluginUpdateResponse) ProtoReflect ¶
func (x *DynamicPluginUpdateResponse) ProtoReflect() protoreflect.Message
func (*DynamicPluginUpdateResponse) Reset ¶
func (x *DynamicPluginUpdateResponse) Reset()
func (*DynamicPluginUpdateResponse) String ¶
func (x *DynamicPluginUpdateResponse) String() string
type UnimplementedDynamicPluginServiceServer ¶
type UnimplementedDynamicPluginServiceServer struct { }
UnimplementedDynamicPluginServiceServer must be embedded to have forward compatible implementations.
type UnsafeDynamicPluginServiceServer ¶
type UnsafeDynamicPluginServiceServer interface {
// contains filtered or unexported methods
}
UnsafeDynamicPluginServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DynamicPluginServiceServer will result in compilation errors.