call

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

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

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

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.

Jump to

Keyboard shortcuts

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