Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var File_request_proto protoreflect.FileDescriptor
var LambdaServer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "lambda.LambdaServer", HandlerType: (*LambdaServerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MakeRequest", Handler: _LambdaServer_MakeRequest_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "request.proto", }
LambdaServer_ServiceDesc is the grpc.ServiceDesc for LambdaServer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterLambdaServerServer ¶
func RegisterLambdaServerServer(s grpc.ServiceRegistrar, srv LambdaServerServer)
Types ¶
type LambdaServerClient ¶
type LambdaServerClient interface {
MakeRequest(ctx context.Context, in *Payload, opts ...grpc.CallOption) (*Payload, error)
}
LambdaServerClient is the client API for LambdaServer 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 NewLambdaServerClient ¶
func NewLambdaServerClient(cc grpc.ClientConnInterface) LambdaServerClient
type LambdaServerServer ¶
type LambdaServerServer interface { MakeRequest(context.Context, *Payload) (*Payload, error) // contains filtered or unexported methods }
LambdaServerServer is the server API for LambdaServer service. All implementations must embed UnimplementedLambdaServerServer for forward compatibility
type Payload ¶
type Payload struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Payload) Descriptor
deprecated
func (*Payload) ProtoMessage ¶
func (*Payload) ProtoMessage()
func (*Payload) ProtoReflect ¶
func (x *Payload) ProtoReflect() protoreflect.Message
type UnimplementedLambdaServerServer ¶
type UnimplementedLambdaServerServer struct { }
UnimplementedLambdaServerServer must be embedded to have forward compatible implementations.
func (UnimplementedLambdaServerServer) MakeRequest ¶
type UnsafeLambdaServerServer ¶
type UnsafeLambdaServerServer interface {
// contains filtered or unexported methods
}
UnsafeLambdaServerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LambdaServerServer will result in compilation errors.