Versions in this module Expand all Collapse all v1 v1.1.3 Jul 2, 2024 Changes in this version + type Empty1 struct + Status string + func (*Empty1) Descriptor() ([]byte, []int) + func (*Empty1) ProtoMessage() + func (x *Empty1) GetStatus() string + func (x *Empty1) ProtoReflect() protoreflect.Message + func (x *Empty1) Reset() + func (x *Empty1) String() string v1.1.2 Jul 2, 2024 Changes in this version + type Product1 struct + Category string + Price string + ProductDescription string + ProductId string + ProductName string + func (*Product1) Descriptor() ([]byte, []int) + func (*Product1) ProtoMessage() + func (x *Product1) GetCategory() string + func (x *Product1) GetPrice() string + func (x *Product1) GetProductDescription() string + func (x *Product1) GetProductId() string + func (x *Product1) GetProductName() string + func (x *Product1) ProtoReflect() protoreflect.Message + func (x *Product1) Reset() + func (x *Product1) String() string v1.1.1 Jul 2, 2024 Changes in this version + const OrderService_CreateOrder_FullMethodName + const OrderService_DeleteOrder_FullMethodName + const OrderService_GetAllInfoOrder_FullMethodName + const OrderService_GetInfoOrder_FullMethodName + var File_order_order_proto protoreflect.FileDescriptor + var OrderService_ServiceDesc = grpc.ServiceDesc + func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer) + type CreatOrderReq struct + UserId string + func (*CreatOrderReq) Descriptor() ([]byte, []int) + func (*CreatOrderReq) ProtoMessage() + func (x *CreatOrderReq) GetUserId() string + func (x *CreatOrderReq) ProtoReflect() protoreflect.Message + func (x *CreatOrderReq) Reset() + func (x *CreatOrderReq) String() string + type CreateOrderRes struct + CreatedAt string + OrderId string + Product *Product + UserId string + UserName string + func (*CreateOrderRes) Descriptor() ([]byte, []int) + func (*CreateOrderRes) ProtoMessage() + func (x *CreateOrderRes) GetCreatedAt() string + func (x *CreateOrderRes) GetOrderId() string + func (x *CreateOrderRes) GetProduct() *Product + func (x *CreateOrderRes) GetUserId() string + func (x *CreateOrderRes) GetUserName() string + func (x *CreateOrderRes) ProtoReflect() protoreflect.Message + func (x *CreateOrderRes) Reset() + func (x *CreateOrderRes) String() string + type DeleteOrderReq struct + UserId string + func (*DeleteOrderReq) Descriptor() ([]byte, []int) + func (*DeleteOrderReq) ProtoMessage() + func (x *DeleteOrderReq) GetUserId() string + func (x *DeleteOrderReq) ProtoReflect() protoreflect.Message + func (x *DeleteOrderReq) Reset() + func (x *DeleteOrderReq) String() string + type Empty struct + Status string + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (x *Empty) GetStatus() string + func (x *Empty) ProtoReflect() protoreflect.Message + func (x *Empty) Reset() + func (x *Empty) String() string + type GetAllInfoOrderReq struct + Field string + Limit int64 + Page int64 + Value string + func (*GetAllInfoOrderReq) Descriptor() ([]byte, []int) + func (*GetAllInfoOrderReq) ProtoMessage() + func (x *GetAllInfoOrderReq) GetField() string + func (x *GetAllInfoOrderReq) GetLimit() int64 + func (x *GetAllInfoOrderReq) GetPage() int64 + func (x *GetAllInfoOrderReq) GetValue() string + func (x *GetAllInfoOrderReq) ProtoReflect() protoreflect.Message + func (x *GetAllInfoOrderReq) Reset() + func (x *GetAllInfoOrderReq) String() string + type GetAllInfoOrderRes struct + Orders []*Order + func (*GetAllInfoOrderRes) Descriptor() ([]byte, []int) + func (*GetAllInfoOrderRes) ProtoMessage() + func (x *GetAllInfoOrderRes) GetOrders() []*Order + func (x *GetAllInfoOrderRes) ProtoReflect() protoreflect.Message + func (x *GetAllInfoOrderRes) Reset() + func (x *GetAllInfoOrderRes) String() string + type GetInfoOrderReq struct + OrderId string + func (*GetInfoOrderReq) Descriptor() ([]byte, []int) + func (*GetInfoOrderReq) ProtoMessage() + func (x *GetInfoOrderReq) GetOrderId() string + func (x *GetInfoOrderReq) ProtoReflect() protoreflect.Message + func (x *GetInfoOrderReq) Reset() + func (x *GetInfoOrderReq) String() string + type Order struct + CreatedAt string + OrderId string + ProductId string + ProductName string + UserId string + UserName string + func (*Order) Descriptor() ([]byte, []int) + func (*Order) ProtoMessage() + func (x *Order) GetCreatedAt() string + func (x *Order) GetOrderId() string + func (x *Order) GetProductId() string + func (x *Order) GetProductName() string + func (x *Order) GetUserId() string + func (x *Order) GetUserName() string + func (x *Order) ProtoReflect() protoreflect.Message + func (x *Order) Reset() + func (x *Order) String() string + type OrderServiceClient interface + CreateOrder func(ctx context.Context, in *CreatOrderReq, opts ...grpc.CallOption) (OrderService_CreateOrderClient, error) + DeleteOrder func(ctx context.Context, in *DeleteOrderReq, opts ...grpc.CallOption) (*Empty, error) + GetAllInfoOrder func(ctx context.Context, in *GetAllInfoOrderReq, opts ...grpc.CallOption) (*GetAllInfoOrderRes, error) + GetInfoOrder func(ctx context.Context, in *GetInfoOrderReq, opts ...grpc.CallOption) (*Order, error) + func NewOrderServiceClient(cc grpc.ClientConnInterface) OrderServiceClient + type OrderServiceServer interface + CreateOrder func(*CreatOrderReq, OrderService_CreateOrderServer) error + DeleteOrder func(context.Context, *DeleteOrderReq) (*Empty, error) + GetAllInfoOrder func(context.Context, *GetAllInfoOrderReq) (*GetAllInfoOrderRes, error) + GetInfoOrder func(context.Context, *GetInfoOrderReq) (*Order, error) + type OrderService_CreateOrderClient interface + Recv func() (*CreateOrderRes, error) + type OrderService_CreateOrderServer interface + Send func(*CreateOrderRes) error + type Product struct + Category string + Price string + ProductDescription string + ProductId string + ProductName string + func (*Product) Descriptor() ([]byte, []int) + func (*Product) ProtoMessage() + func (x *Product) GetCategory() string + func (x *Product) GetPrice() string + func (x *Product) GetProductDescription() string + func (x *Product) GetProductId() string + func (x *Product) GetProductName() string + func (x *Product) ProtoReflect() protoreflect.Message + func (x *Product) Reset() + func (x *Product) String() string + type UnimplementedOrderServiceServer struct + func (UnimplementedOrderServiceServer) CreateOrder(*CreatOrderReq, OrderService_CreateOrderServer) error + func (UnimplementedOrderServiceServer) DeleteOrder(context.Context, *DeleteOrderReq) (*Empty, error) + func (UnimplementedOrderServiceServer) GetAllInfoOrder(context.Context, *GetAllInfoOrderReq) (*GetAllInfoOrderRes, error) + func (UnimplementedOrderServiceServer) GetInfoOrder(context.Context, *GetInfoOrderReq) (*Order, error) + type UnsafeOrderServiceServer interface