dynamic_plugin

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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.

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 (*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 (*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.

Jump to

Keyboard shortcuts

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