Documentation ¶
Index ¶
- Variables
- func RegisterCallServiceServer(s grpc.ServiceRegistrar, srv CallServiceServer)
- type CallRequest
- func (*CallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CallRequest) GetAutowireType() string
- func (x *CallRequest) GetMethodName() string
- func (x *CallRequest) GetParams() []byte
- func (x *CallRequest) GetSdid() string
- func (*CallRequest) ProtoMessage()
- func (x *CallRequest) ProtoReflect() protoreflect.Message
- func (x *CallRequest) Reset()
- func (x *CallRequest) String() string
- type CallResponse
- func (*CallResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallResponse) GetMethodName() string
- func (x *CallResponse) GetParams() []byte
- func (x *CallResponse) GetReturnValues() []byte
- func (x *CallResponse) GetSdid() string
- func (*CallResponse) ProtoMessage()
- func (x *CallResponse) ProtoReflect() protoreflect.Message
- func (x *CallResponse) Reset()
- func (x *CallResponse) String() string
- type CallServiceClient
- type CallServiceServer
- type UnimplementedCallServiceServer
- type UnsafeCallServiceServer
Constants ¶
This section is empty.
Variables ¶
var CallService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ioc_golang.aop.call.CallService", HandlerType: (*CallServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Call", Handler: _CallService_Call_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "extension/aop/call/api/ioc_golang/aop/call/call.proto", }
CallService_ServiceDesc is the grpc.ServiceDesc for CallService 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_call_api_ioc_golang_aop_call_call_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCallServiceServer ¶
func RegisterCallServiceServer(s grpc.ServiceRegistrar, srv CallServiceServer)
Types ¶
type CallRequest ¶
type CallRequest struct { Sdid string `protobuf:"bytes,1,opt,name=sdid,proto3" json:"sdid,omitempty"` MethodName string `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"` AutowireType string `protobuf:"bytes,3,opt,name=autowireType,proto3" json:"autowireType,omitempty"` Params []byte `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*CallRequest) Descriptor
deprecated
func (*CallRequest) Descriptor() ([]byte, []int)
Deprecated: Use CallRequest.ProtoReflect.Descriptor instead.
func (*CallRequest) GetAutowireType ¶
func (x *CallRequest) GetAutowireType() string
func (*CallRequest) GetMethodName ¶
func (x *CallRequest) GetMethodName() string
func (*CallRequest) GetParams ¶
func (x *CallRequest) GetParams() []byte
func (*CallRequest) GetSdid ¶
func (x *CallRequest) GetSdid() string
func (*CallRequest) ProtoMessage ¶
func (*CallRequest) ProtoMessage()
func (*CallRequest) ProtoReflect ¶
func (x *CallRequest) ProtoReflect() protoreflect.Message
func (*CallRequest) Reset ¶
func (x *CallRequest) Reset()
func (*CallRequest) String ¶
func (x *CallRequest) String() string
type CallResponse ¶
type CallResponse struct { Sdid string `protobuf:"bytes,1,opt,name=sdid,proto3" json:"sdid,omitempty"` MethodName string `protobuf:"bytes,2,opt,name=methodName,proto3" json:"methodName,omitempty"` Params []byte `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` ReturnValues []byte `protobuf:"bytes,4,opt,name=returnValues,proto3" json:"returnValues,omitempty"` // contains filtered or unexported fields }
func (*CallResponse) Descriptor
deprecated
func (*CallResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallResponse.ProtoReflect.Descriptor instead.
func (*CallResponse) GetMethodName ¶
func (x *CallResponse) GetMethodName() string
func (*CallResponse) GetParams ¶
func (x *CallResponse) GetParams() []byte
func (*CallResponse) GetReturnValues ¶
func (x *CallResponse) GetReturnValues() []byte
func (*CallResponse) GetSdid ¶
func (x *CallResponse) GetSdid() string
func (*CallResponse) ProtoMessage ¶
func (*CallResponse) ProtoMessage()
func (*CallResponse) ProtoReflect ¶
func (x *CallResponse) ProtoReflect() protoreflect.Message
func (*CallResponse) Reset ¶
func (x *CallResponse) Reset()
func (*CallResponse) String ¶
func (x *CallResponse) String() string
type CallServiceClient ¶
type CallServiceClient interface {
Call(ctx context.Context, in *CallRequest, opts ...grpc.CallOption) (*CallResponse, error)
}
CallServiceClient is the client API for CallService 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 NewCallServiceClient ¶
func NewCallServiceClient(cc grpc.ClientConnInterface) CallServiceClient
type CallServiceServer ¶
type CallServiceServer interface { Call(context.Context, *CallRequest) (*CallResponse, error) // contains filtered or unexported methods }
CallServiceServer is the server API for CallService service. All implementations must embed UnimplementedCallServiceServer for forward compatibility
type UnimplementedCallServiceServer ¶
type UnimplementedCallServiceServer struct { }
UnimplementedCallServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedCallServiceServer) Call ¶
func (UnimplementedCallServiceServer) Call(context.Context, *CallRequest) (*CallResponse, error)
type UnsafeCallServiceServer ¶
type UnsafeCallServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCallServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallServiceServer will result in compilation errors.