474 lines
19 KiB
Go
474 lines
19 KiB
Go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-grpc v1.5.1
|
|
// - protoc v3.21.12
|
|
// source: cart_actor.proto
|
|
|
|
package messages
|
|
|
|
import (
|
|
context "context"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
// Requires gRPC-Go v1.64.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion9
|
|
|
|
const (
|
|
CartActor_AddRequest_FullMethodName = "/messages.CartActor/AddRequest"
|
|
CartActor_AddItem_FullMethodName = "/messages.CartActor/AddItem"
|
|
CartActor_RemoveItem_FullMethodName = "/messages.CartActor/RemoveItem"
|
|
CartActor_RemoveDelivery_FullMethodName = "/messages.CartActor/RemoveDelivery"
|
|
CartActor_ChangeQuantity_FullMethodName = "/messages.CartActor/ChangeQuantity"
|
|
CartActor_SetDelivery_FullMethodName = "/messages.CartActor/SetDelivery"
|
|
CartActor_SetPickupPoint_FullMethodName = "/messages.CartActor/SetPickupPoint"
|
|
CartActor_SetCartItems_FullMethodName = "/messages.CartActor/SetCartItems"
|
|
CartActor_OrderCompleted_FullMethodName = "/messages.CartActor/OrderCompleted"
|
|
CartActor_GetState_FullMethodName = "/messages.CartActor/GetState"
|
|
)
|
|
|
|
// CartActorClient is the client API for CartActor 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.
|
|
//
|
|
// -----------------------------------------------------------------------------
|
|
// Service definition (per-mutation RPCs + checkout)
|
|
// -----------------------------------------------------------------------------
|
|
type CartActorClient interface {
|
|
AddRequest(ctx context.Context, in *AddRequestRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
AddItem(ctx context.Context, in *AddItemRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
RemoveItem(ctx context.Context, in *RemoveItemRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
RemoveDelivery(ctx context.Context, in *RemoveDeliveryRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
ChangeQuantity(ctx context.Context, in *ChangeQuantityRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
SetDelivery(ctx context.Context, in *SetDeliveryRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
SetPickupPoint(ctx context.Context, in *SetPickupPointRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
// (Checkout RPC removed - handled externally)
|
|
SetCartItems(ctx context.Context, in *SetCartItemsRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
OrderCompleted(ctx context.Context, in *OrderCompletedRequest, opts ...grpc.CallOption) (*CartMutationReply, error)
|
|
GetState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateReply, error)
|
|
}
|
|
|
|
type cartActorClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewCartActorClient(cc grpc.ClientConnInterface) CartActorClient {
|
|
return &cartActorClient{cc}
|
|
}
|
|
|
|
func (c *cartActorClient) AddRequest(ctx context.Context, in *AddRequestRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_AddRequest_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) AddItem(ctx context.Context, in *AddItemRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_AddItem_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) RemoveItem(ctx context.Context, in *RemoveItemRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_RemoveItem_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) RemoveDelivery(ctx context.Context, in *RemoveDeliveryRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_RemoveDelivery_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) ChangeQuantity(ctx context.Context, in *ChangeQuantityRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_ChangeQuantity_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) SetDelivery(ctx context.Context, in *SetDeliveryRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_SetDelivery_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) SetPickupPoint(ctx context.Context, in *SetPickupPointRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_SetPickupPoint_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) SetCartItems(ctx context.Context, in *SetCartItemsRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_SetCartItems_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) OrderCompleted(ctx context.Context, in *OrderCompletedRequest, opts ...grpc.CallOption) (*CartMutationReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CartMutationReply)
|
|
err := c.cc.Invoke(ctx, CartActor_OrderCompleted_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *cartActorClient) GetState(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateReply, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(StateReply)
|
|
err := c.cc.Invoke(ctx, CartActor_GetState_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// CartActorServer is the server API for CartActor service.
|
|
// All implementations must embed UnimplementedCartActorServer
|
|
// for forward compatibility.
|
|
//
|
|
// -----------------------------------------------------------------------------
|
|
// Service definition (per-mutation RPCs + checkout)
|
|
// -----------------------------------------------------------------------------
|
|
type CartActorServer interface {
|
|
AddRequest(context.Context, *AddRequestRequest) (*CartMutationReply, error)
|
|
AddItem(context.Context, *AddItemRequest) (*CartMutationReply, error)
|
|
RemoveItem(context.Context, *RemoveItemRequest) (*CartMutationReply, error)
|
|
RemoveDelivery(context.Context, *RemoveDeliveryRequest) (*CartMutationReply, error)
|
|
ChangeQuantity(context.Context, *ChangeQuantityRequest) (*CartMutationReply, error)
|
|
SetDelivery(context.Context, *SetDeliveryRequest) (*CartMutationReply, error)
|
|
SetPickupPoint(context.Context, *SetPickupPointRequest) (*CartMutationReply, error)
|
|
// (Checkout RPC removed - handled externally)
|
|
SetCartItems(context.Context, *SetCartItemsRequest) (*CartMutationReply, error)
|
|
OrderCompleted(context.Context, *OrderCompletedRequest) (*CartMutationReply, error)
|
|
GetState(context.Context, *StateRequest) (*StateReply, error)
|
|
mustEmbedUnimplementedCartActorServer()
|
|
}
|
|
|
|
// UnimplementedCartActorServer must be embedded to have
|
|
// forward compatible implementations.
|
|
//
|
|
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
// pointer dereference when methods are called.
|
|
type UnimplementedCartActorServer struct{}
|
|
|
|
func (UnimplementedCartActorServer) AddRequest(context.Context, *AddRequestRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddRequest not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) AddItem(context.Context, *AddItemRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method AddItem not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) RemoveItem(context.Context, *RemoveItemRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RemoveItem not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) RemoveDelivery(context.Context, *RemoveDeliveryRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RemoveDelivery not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) ChangeQuantity(context.Context, *ChangeQuantityRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method ChangeQuantity not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) SetDelivery(context.Context, *SetDeliveryRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetDelivery not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) SetPickupPoint(context.Context, *SetPickupPointRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetPickupPoint not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) SetCartItems(context.Context, *SetCartItemsRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetCartItems not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) OrderCompleted(context.Context, *OrderCompletedRequest) (*CartMutationReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method OrderCompleted not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) GetState(context.Context, *StateRequest) (*StateReply, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetState not implemented")
|
|
}
|
|
func (UnimplementedCartActorServer) mustEmbedUnimplementedCartActorServer() {}
|
|
func (UnimplementedCartActorServer) testEmbeddedByValue() {}
|
|
|
|
// UnsafeCartActorServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to CartActorServer will
|
|
// result in compilation errors.
|
|
type UnsafeCartActorServer interface {
|
|
mustEmbedUnimplementedCartActorServer()
|
|
}
|
|
|
|
func RegisterCartActorServer(s grpc.ServiceRegistrar, srv CartActorServer) {
|
|
// If the following call pancis, it indicates UnimplementedCartActorServer was
|
|
// embedded by pointer and is nil. This will cause panics if an
|
|
// unimplemented method is ever invoked, so we test this at initialization
|
|
// time to prevent it from happening at runtime later due to I/O.
|
|
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
t.testEmbeddedByValue()
|
|
}
|
|
s.RegisterService(&CartActor_ServiceDesc, srv)
|
|
}
|
|
|
|
func _CartActor_AddRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddRequestRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).AddRequest(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_AddRequest_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).AddRequest(ctx, req.(*AddRequestRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_AddItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddItemRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).AddItem(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_AddItem_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).AddItem(ctx, req.(*AddItemRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_RemoveItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RemoveItemRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).RemoveItem(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_RemoveItem_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).RemoveItem(ctx, req.(*RemoveItemRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_RemoveDelivery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RemoveDeliveryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).RemoveDelivery(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_RemoveDelivery_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).RemoveDelivery(ctx, req.(*RemoveDeliveryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_ChangeQuantity_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ChangeQuantityRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).ChangeQuantity(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_ChangeQuantity_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).ChangeQuantity(ctx, req.(*ChangeQuantityRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_SetDelivery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetDeliveryRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).SetDelivery(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_SetDelivery_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).SetDelivery(ctx, req.(*SetDeliveryRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_SetPickupPoint_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetPickupPointRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).SetPickupPoint(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_SetPickupPoint_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).SetPickupPoint(ctx, req.(*SetPickupPointRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_SetCartItems_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetCartItemsRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).SetCartItems(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_SetCartItems_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).SetCartItems(ctx, req.(*SetCartItemsRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_OrderCompleted_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(OrderCompletedRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).OrderCompleted(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_OrderCompleted_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).OrderCompleted(ctx, req.(*OrderCompletedRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _CartActor_GetState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StateRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(CartActorServer).GetState(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: CartActor_GetState_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(CartActorServer).GetState(ctx, req.(*StateRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
// CartActor_ServiceDesc is the grpc.ServiceDesc for CartActor service.
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var CartActor_ServiceDesc = grpc.ServiceDesc{
|
|
ServiceName: "messages.CartActor",
|
|
HandlerType: (*CartActorServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "AddRequest",
|
|
Handler: _CartActor_AddRequest_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddItem",
|
|
Handler: _CartActor_AddItem_Handler,
|
|
},
|
|
{
|
|
MethodName: "RemoveItem",
|
|
Handler: _CartActor_RemoveItem_Handler,
|
|
},
|
|
{
|
|
MethodName: "RemoveDelivery",
|
|
Handler: _CartActor_RemoveDelivery_Handler,
|
|
},
|
|
{
|
|
MethodName: "ChangeQuantity",
|
|
Handler: _CartActor_ChangeQuantity_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetDelivery",
|
|
Handler: _CartActor_SetDelivery_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetPickupPoint",
|
|
Handler: _CartActor_SetPickupPoint_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetCartItems",
|
|
Handler: _CartActor_SetCartItems_Handler,
|
|
},
|
|
{
|
|
MethodName: "OrderCompleted",
|
|
Handler: _CartActor_OrderCompleted_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetState",
|
|
Handler: _CartActor_GetState_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "cart_actor.proto",
|
|
}
|