Versions in this module Expand all Collapse all v0 v0.1.1 Feb 26, 2022 v0.1.0 Feb 26, 2022 Changes in this version + func RegisterAdServiceServer(s *grpc.Server, srv AdServiceServer) + func RegisterCartServiceServer(s *grpc.Server, srv CartServiceServer) + func RegisterCheckoutServiceServer(s *grpc.Server, srv CheckoutServiceServer) + func RegisterCurrencyServiceServer(s *grpc.Server, srv CurrencyServiceServer) + func RegisterEmailServiceServer(s *grpc.Server, srv EmailServiceServer) + func RegisterPaymentServiceServer(s *grpc.Server, srv PaymentServiceServer) + func RegisterProductCatalogServiceServer(s *grpc.Server, srv ProductCatalogServiceServer) + func RegisterRecommendationServiceServer(s *grpc.Server, srv RecommendationServiceServer) + func RegisterShippingServiceServer(s *grpc.Server, srv ShippingServiceServer) + type Ad struct + RedirectUrl string + Text string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Ad) Descriptor() ([]byte, []int) + func (*Ad) ProtoMessage() + func (m *Ad) GetRedirectUrl() string + func (m *Ad) GetText() string + func (m *Ad) Reset() + func (m *Ad) String() string + func (m *Ad) XXX_DiscardUnknown() + func (m *Ad) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Ad) XXX_Merge(src proto.Message) + func (m *Ad) XXX_Size() int + func (m *Ad) XXX_Unmarshal(b []byte) error + type AdRequest struct + ContextKeys []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AdRequest) Descriptor() ([]byte, []int) + func (*AdRequest) ProtoMessage() + func (m *AdRequest) GetContextKeys() []string + func (m *AdRequest) Reset() + func (m *AdRequest) String() string + func (m *AdRequest) XXX_DiscardUnknown() + func (m *AdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AdRequest) XXX_Merge(src proto.Message) + func (m *AdRequest) XXX_Size() int + func (m *AdRequest) XXX_Unmarshal(b []byte) error + type AdResponse struct + Ads []*Ad + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AdResponse) Descriptor() ([]byte, []int) + func (*AdResponse) ProtoMessage() + func (m *AdResponse) GetAds() []*Ad + func (m *AdResponse) Reset() + func (m *AdResponse) String() string + func (m *AdResponse) XXX_DiscardUnknown() + func (m *AdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AdResponse) XXX_Merge(src proto.Message) + func (m *AdResponse) XXX_Size() int + func (m *AdResponse) XXX_Unmarshal(b []byte) error + type AdServiceClient interface + GetAds func(ctx context.Context, in *AdRequest, opts ...grpc.CallOption) (*AdResponse, error) + func NewAdServiceClient(cc *grpc.ClientConn) AdServiceClient + type AdServiceServer interface + GetAds func(context.Context, *AdRequest) (*AdResponse, error) + type AddItemRequest struct + Item *CartItem + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AddItemRequest) Descriptor() ([]byte, []int) + func (*AddItemRequest) ProtoMessage() + func (m *AddItemRequest) GetItem() *CartItem + func (m *AddItemRequest) GetUserId() string + func (m *AddItemRequest) Reset() + func (m *AddItemRequest) String() string + func (m *AddItemRequest) XXX_DiscardUnknown() + func (m *AddItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AddItemRequest) XXX_Merge(src proto.Message) + func (m *AddItemRequest) XXX_Size() int + func (m *AddItemRequest) XXX_Unmarshal(b []byte) error + type Address struct + City string + Country string + State string + StreetAddress string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + ZipCode int32 + func (*Address) Descriptor() ([]byte, []int) + func (*Address) ProtoMessage() + func (m *Address) GetCity() string + func (m *Address) GetCountry() string + func (m *Address) GetState() string + func (m *Address) GetStreetAddress() string + func (m *Address) GetZipCode() int32 + func (m *Address) Reset() + func (m *Address) String() string + func (m *Address) XXX_DiscardUnknown() + func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Address) XXX_Merge(src proto.Message) + func (m *Address) XXX_Size() int + func (m *Address) XXX_Unmarshal(b []byte) error + type Cart struct + Items []*CartItem + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Cart) Descriptor() ([]byte, []int) + func (*Cart) ProtoMessage() + func (m *Cart) GetItems() []*CartItem + func (m *Cart) GetUserId() string + func (m *Cart) Reset() + func (m *Cart) String() string + func (m *Cart) XXX_DiscardUnknown() + func (m *Cart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Cart) XXX_Merge(src proto.Message) + func (m *Cart) XXX_Size() int + func (m *Cart) XXX_Unmarshal(b []byte) error + type CartItem struct + ProductId string + Quantity int32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CartItem) Descriptor() ([]byte, []int) + func (*CartItem) ProtoMessage() + func (m *CartItem) GetProductId() string + func (m *CartItem) GetQuantity() int32 + func (m *CartItem) Reset() + func (m *CartItem) String() string + func (m *CartItem) XXX_DiscardUnknown() + func (m *CartItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CartItem) XXX_Merge(src proto.Message) + func (m *CartItem) XXX_Size() int + func (m *CartItem) XXX_Unmarshal(b []byte) error + type CartServiceClient interface + AddItem func(ctx context.Context, in *AddItemRequest, opts ...grpc.CallOption) (*Empty, error) + EmptyCart func(ctx context.Context, in *EmptyCartRequest, opts ...grpc.CallOption) (*Empty, error) + GetCart func(ctx context.Context, in *GetCartRequest, opts ...grpc.CallOption) (*Cart, error) + func NewCartServiceClient(cc *grpc.ClientConn) CartServiceClient + type CartServiceServer interface + AddItem func(context.Context, *AddItemRequest) (*Empty, error) + EmptyCart func(context.Context, *EmptyCartRequest) (*Empty, error) + GetCart func(context.Context, *GetCartRequest) (*Cart, error) + type ChargeRequest struct + Amount *Money + CreditCard *CreditCardInfo + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChargeRequest) Descriptor() ([]byte, []int) + func (*ChargeRequest) ProtoMessage() + func (m *ChargeRequest) GetAmount() *Money + func (m *ChargeRequest) GetCreditCard() *CreditCardInfo + func (m *ChargeRequest) Reset() + func (m *ChargeRequest) String() string + func (m *ChargeRequest) XXX_DiscardUnknown() + func (m *ChargeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChargeRequest) XXX_Merge(src proto.Message) + func (m *ChargeRequest) XXX_Size() int + func (m *ChargeRequest) XXX_Unmarshal(b []byte) error + type ChargeResponse struct + TransactionId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ChargeResponse) Descriptor() ([]byte, []int) + func (*ChargeResponse) ProtoMessage() + func (m *ChargeResponse) GetTransactionId() string + func (m *ChargeResponse) Reset() + func (m *ChargeResponse) String() string + func (m *ChargeResponse) XXX_DiscardUnknown() + func (m *ChargeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ChargeResponse) XXX_Merge(src proto.Message) + func (m *ChargeResponse) XXX_Size() int + func (m *ChargeResponse) XXX_Unmarshal(b []byte) error + type CheckoutServiceClient interface + PlaceOrder func(ctx context.Context, in *PlaceOrderRequest, opts ...grpc.CallOption) (*PlaceOrderResponse, error) + func NewCheckoutServiceClient(cc *grpc.ClientConn) CheckoutServiceClient + type CheckoutServiceServer interface + PlaceOrder func(context.Context, *PlaceOrderRequest) (*PlaceOrderResponse, error) + type CreditCardInfo struct + CreditCardCvv int32 + CreditCardExpirationMonth int32 + CreditCardExpirationYear int32 + CreditCardNumber string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CreditCardInfo) Descriptor() ([]byte, []int) + func (*CreditCardInfo) ProtoMessage() + func (m *CreditCardInfo) GetCreditCardCvv() int32 + func (m *CreditCardInfo) GetCreditCardExpirationMonth() int32 + func (m *CreditCardInfo) GetCreditCardExpirationYear() int32 + func (m *CreditCardInfo) GetCreditCardNumber() string + func (m *CreditCardInfo) Reset() + func (m *CreditCardInfo) String() string + func (m *CreditCardInfo) XXX_DiscardUnknown() + func (m *CreditCardInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CreditCardInfo) XXX_Merge(src proto.Message) + func (m *CreditCardInfo) XXX_Size() int + func (m *CreditCardInfo) XXX_Unmarshal(b []byte) error + type CurrencyConversionRequest struct + From *Money + ToCode string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CurrencyConversionRequest) Descriptor() ([]byte, []int) + func (*CurrencyConversionRequest) ProtoMessage() + func (m *CurrencyConversionRequest) GetFrom() *Money + func (m *CurrencyConversionRequest) GetToCode() string + func (m *CurrencyConversionRequest) Reset() + func (m *CurrencyConversionRequest) String() string + func (m *CurrencyConversionRequest) XXX_DiscardUnknown() + func (m *CurrencyConversionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CurrencyConversionRequest) XXX_Merge(src proto.Message) + func (m *CurrencyConversionRequest) XXX_Size() int + func (m *CurrencyConversionRequest) XXX_Unmarshal(b []byte) error + type CurrencyServiceClient interface + Convert func(ctx context.Context, in *CurrencyConversionRequest, opts ...grpc.CallOption) (*Money, error) + GetSupportedCurrencies func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetSupportedCurrenciesResponse, error) + func NewCurrencyServiceClient(cc *grpc.ClientConn) CurrencyServiceClient + type CurrencyServiceServer interface + Convert func(context.Context, *CurrencyConversionRequest) (*Money, error) + GetSupportedCurrencies func(context.Context, *Empty) (*GetSupportedCurrenciesResponse, error) + type EmailServiceClient interface + SendOrderConfirmation func(ctx context.Context, in *SendOrderConfirmationRequest, opts ...grpc.CallOption) (*Empty, error) + func NewEmailServiceClient(cc *grpc.ClientConn) EmailServiceClient + type EmailServiceServer interface + SendOrderConfirmation func(context.Context, *SendOrderConfirmationRequest) (*Empty, error) + type Empty struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (m *Empty) Reset() + func (m *Empty) String() string + func (m *Empty) XXX_DiscardUnknown() + func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Empty) XXX_Merge(src proto.Message) + func (m *Empty) XXX_Size() int + func (m *Empty) XXX_Unmarshal(b []byte) error + type EmptyCartRequest struct + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EmptyCartRequest) Descriptor() ([]byte, []int) + func (*EmptyCartRequest) ProtoMessage() + func (m *EmptyCartRequest) GetUserId() string + func (m *EmptyCartRequest) Reset() + func (m *EmptyCartRequest) String() string + func (m *EmptyCartRequest) XXX_DiscardUnknown() + func (m *EmptyCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EmptyCartRequest) XXX_Merge(src proto.Message) + func (m *EmptyCartRequest) XXX_Size() int + func (m *EmptyCartRequest) XXX_Unmarshal(b []byte) error + type GetCartRequest struct + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetCartRequest) Descriptor() ([]byte, []int) + func (*GetCartRequest) ProtoMessage() + func (m *GetCartRequest) GetUserId() string + func (m *GetCartRequest) Reset() + func (m *GetCartRequest) String() string + func (m *GetCartRequest) XXX_DiscardUnknown() + func (m *GetCartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetCartRequest) XXX_Merge(src proto.Message) + func (m *GetCartRequest) XXX_Size() int + func (m *GetCartRequest) XXX_Unmarshal(b []byte) error + type GetProductRequest struct + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetProductRequest) Descriptor() ([]byte, []int) + func (*GetProductRequest) ProtoMessage() + func (m *GetProductRequest) GetId() string + func (m *GetProductRequest) Reset() + func (m *GetProductRequest) String() string + func (m *GetProductRequest) XXX_DiscardUnknown() + func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetProductRequest) XXX_Merge(src proto.Message) + func (m *GetProductRequest) XXX_Size() int + func (m *GetProductRequest) XXX_Unmarshal(b []byte) error + type GetQuoteRequest struct + Address *Address + Items []*CartItem + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetQuoteRequest) Descriptor() ([]byte, []int) + func (*GetQuoteRequest) ProtoMessage() + func (m *GetQuoteRequest) GetAddress() *Address + func (m *GetQuoteRequest) GetItems() []*CartItem + func (m *GetQuoteRequest) Reset() + func (m *GetQuoteRequest) String() string + func (m *GetQuoteRequest) XXX_DiscardUnknown() + func (m *GetQuoteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetQuoteRequest) XXX_Merge(src proto.Message) + func (m *GetQuoteRequest) XXX_Size() int + func (m *GetQuoteRequest) XXX_Unmarshal(b []byte) error + type GetQuoteResponse struct + CostUsd *Money + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetQuoteResponse) Descriptor() ([]byte, []int) + func (*GetQuoteResponse) ProtoMessage() + func (m *GetQuoteResponse) GetCostUsd() *Money + func (m *GetQuoteResponse) Reset() + func (m *GetQuoteResponse) String() string + func (m *GetQuoteResponse) XXX_DiscardUnknown() + func (m *GetQuoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetQuoteResponse) XXX_Merge(src proto.Message) + func (m *GetQuoteResponse) XXX_Size() int + func (m *GetQuoteResponse) XXX_Unmarshal(b []byte) error + type GetSupportedCurrenciesResponse struct + CurrencyCodes []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetSupportedCurrenciesResponse) Descriptor() ([]byte, []int) + func (*GetSupportedCurrenciesResponse) ProtoMessage() + func (m *GetSupportedCurrenciesResponse) GetCurrencyCodes() []string + func (m *GetSupportedCurrenciesResponse) Reset() + func (m *GetSupportedCurrenciesResponse) String() string + func (m *GetSupportedCurrenciesResponse) XXX_DiscardUnknown() + func (m *GetSupportedCurrenciesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetSupportedCurrenciesResponse) XXX_Merge(src proto.Message) + func (m *GetSupportedCurrenciesResponse) XXX_Size() int + func (m *GetSupportedCurrenciesResponse) XXX_Unmarshal(b []byte) error + type ListProductsResponse struct + Products []*Product + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListProductsResponse) Descriptor() ([]byte, []int) + func (*ListProductsResponse) ProtoMessage() + func (m *ListProductsResponse) GetProducts() []*Product + func (m *ListProductsResponse) Reset() + func (m *ListProductsResponse) String() string + func (m *ListProductsResponse) XXX_DiscardUnknown() + func (m *ListProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListProductsResponse) XXX_Merge(src proto.Message) + func (m *ListProductsResponse) XXX_Size() int + func (m *ListProductsResponse) XXX_Unmarshal(b []byte) error + type ListRecommendationsRequest struct + ProductIds []string + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListRecommendationsRequest) Descriptor() ([]byte, []int) + func (*ListRecommendationsRequest) ProtoMessage() + func (m *ListRecommendationsRequest) GetProductIds() []string + func (m *ListRecommendationsRequest) GetUserId() string + func (m *ListRecommendationsRequest) Reset() + func (m *ListRecommendationsRequest) String() string + func (m *ListRecommendationsRequest) XXX_DiscardUnknown() + func (m *ListRecommendationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListRecommendationsRequest) XXX_Merge(src proto.Message) + func (m *ListRecommendationsRequest) XXX_Size() int + func (m *ListRecommendationsRequest) XXX_Unmarshal(b []byte) error + type ListRecommendationsResponse struct + ProductIds []string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ListRecommendationsResponse) Descriptor() ([]byte, []int) + func (*ListRecommendationsResponse) ProtoMessage() + func (m *ListRecommendationsResponse) GetProductIds() []string + func (m *ListRecommendationsResponse) Reset() + func (m *ListRecommendationsResponse) String() string + func (m *ListRecommendationsResponse) XXX_DiscardUnknown() + func (m *ListRecommendationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ListRecommendationsResponse) XXX_Merge(src proto.Message) + func (m *ListRecommendationsResponse) XXX_Size() int + func (m *ListRecommendationsResponse) XXX_Unmarshal(b []byte) error + type Money struct + CurrencyCode string + Nanos int32 + Units int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Money) Descriptor() ([]byte, []int) + func (*Money) ProtoMessage() + func (m *Money) GetCurrencyCode() string + func (m *Money) GetNanos() int32 + func (m *Money) GetUnits() int64 + func (m *Money) Reset() + func (m *Money) String() string + func (m *Money) XXX_DiscardUnknown() + func (m *Money) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Money) XXX_Merge(src proto.Message) + func (m *Money) XXX_Size() int + func (m *Money) XXX_Unmarshal(b []byte) error + type OrderItem struct + Cost *Money + Item *CartItem + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*OrderItem) Descriptor() ([]byte, []int) + func (*OrderItem) ProtoMessage() + func (m *OrderItem) GetCost() *Money + func (m *OrderItem) GetItem() *CartItem + func (m *OrderItem) Reset() + func (m *OrderItem) String() string + func (m *OrderItem) XXX_DiscardUnknown() + func (m *OrderItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OrderItem) XXX_Merge(src proto.Message) + func (m *OrderItem) XXX_Size() int + func (m *OrderItem) XXX_Unmarshal(b []byte) error + type OrderResult struct + Items []*OrderItem + OrderId string + ShippingAddress *Address + ShippingCost *Money + ShippingTrackingId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*OrderResult) Descriptor() ([]byte, []int) + func (*OrderResult) ProtoMessage() + func (m *OrderResult) GetItems() []*OrderItem + func (m *OrderResult) GetOrderId() string + func (m *OrderResult) GetShippingAddress() *Address + func (m *OrderResult) GetShippingCost() *Money + func (m *OrderResult) GetShippingTrackingId() string + func (m *OrderResult) Reset() + func (m *OrderResult) String() string + func (m *OrderResult) XXX_DiscardUnknown() + func (m *OrderResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *OrderResult) XXX_Merge(src proto.Message) + func (m *OrderResult) XXX_Size() int + func (m *OrderResult) XXX_Unmarshal(b []byte) error + type PaymentServiceClient interface + Charge func(ctx context.Context, in *ChargeRequest, opts ...grpc.CallOption) (*ChargeResponse, error) + func NewPaymentServiceClient(cc *grpc.ClientConn) PaymentServiceClient + type PaymentServiceServer interface + Charge func(context.Context, *ChargeRequest) (*ChargeResponse, error) + type PlaceOrderRequest struct + Address *Address + CreditCard *CreditCardInfo + Email string + UserCurrency string + UserId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PlaceOrderRequest) Descriptor() ([]byte, []int) + func (*PlaceOrderRequest) ProtoMessage() + func (m *PlaceOrderRequest) GetAddress() *Address + func (m *PlaceOrderRequest) GetCreditCard() *CreditCardInfo + func (m *PlaceOrderRequest) GetEmail() string + func (m *PlaceOrderRequest) GetUserCurrency() string + func (m *PlaceOrderRequest) GetUserId() string + func (m *PlaceOrderRequest) Reset() + func (m *PlaceOrderRequest) String() string + func (m *PlaceOrderRequest) XXX_DiscardUnknown() + func (m *PlaceOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PlaceOrderRequest) XXX_Merge(src proto.Message) + func (m *PlaceOrderRequest) XXX_Size() int + func (m *PlaceOrderRequest) XXX_Unmarshal(b []byte) error + type PlaceOrderResponse struct + Order *OrderResult + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*PlaceOrderResponse) Descriptor() ([]byte, []int) + func (*PlaceOrderResponse) ProtoMessage() + func (m *PlaceOrderResponse) GetOrder() *OrderResult + func (m *PlaceOrderResponse) Reset() + func (m *PlaceOrderResponse) String() string + func (m *PlaceOrderResponse) XXX_DiscardUnknown() + func (m *PlaceOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *PlaceOrderResponse) XXX_Merge(src proto.Message) + func (m *PlaceOrderResponse) XXX_Size() int + func (m *PlaceOrderResponse) XXX_Unmarshal(b []byte) error + type Product struct + Categories []string + Description string + Id string + Name string + Picture string + PriceUsd *Money + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Product) Descriptor() ([]byte, []int) + func (*Product) ProtoMessage() + func (m *Product) GetCategories() []string + func (m *Product) GetDescription() string + func (m *Product) GetId() string + func (m *Product) GetName() string + func (m *Product) GetPicture() string + func (m *Product) GetPriceUsd() *Money + func (m *Product) Reset() + func (m *Product) String() string + func (m *Product) XXX_DiscardUnknown() + func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Product) XXX_Merge(src proto.Message) + func (m *Product) XXX_Size() int + func (m *Product) XXX_Unmarshal(b []byte) error + type ProductCatalogServiceClient interface + GetProduct func(ctx context.Context, in *GetProductRequest, opts ...grpc.CallOption) (*Product, error) + ListProducts func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*ListProductsResponse, error) + SearchProducts func(ctx context.Context, in *SearchProductsRequest, opts ...grpc.CallOption) (*SearchProductsResponse, error) + func NewProductCatalogServiceClient(cc *grpc.ClientConn) ProductCatalogServiceClient + type ProductCatalogServiceServer interface + GetProduct func(context.Context, *GetProductRequest) (*Product, error) + ListProducts func(context.Context, *Empty) (*ListProductsResponse, error) + SearchProducts func(context.Context, *SearchProductsRequest) (*SearchProductsResponse, error) + type RecommendationServiceClient interface + ListRecommendations func(ctx context.Context, in *ListRecommendationsRequest, opts ...grpc.CallOption) (*ListRecommendationsResponse, error) + func NewRecommendationServiceClient(cc *grpc.ClientConn) RecommendationServiceClient + type RecommendationServiceServer interface + ListRecommendations func(context.Context, *ListRecommendationsRequest) (*ListRecommendationsResponse, error) + type SearchProductsRequest struct + Query string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SearchProductsRequest) Descriptor() ([]byte, []int) + func (*SearchProductsRequest) ProtoMessage() + func (m *SearchProductsRequest) GetQuery() string + func (m *SearchProductsRequest) Reset() + func (m *SearchProductsRequest) String() string + func (m *SearchProductsRequest) XXX_DiscardUnknown() + func (m *SearchProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SearchProductsRequest) XXX_Merge(src proto.Message) + func (m *SearchProductsRequest) XXX_Size() int + func (m *SearchProductsRequest) XXX_Unmarshal(b []byte) error + type SearchProductsResponse struct + Results []*Product + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SearchProductsResponse) Descriptor() ([]byte, []int) + func (*SearchProductsResponse) ProtoMessage() + func (m *SearchProductsResponse) GetResults() []*Product + func (m *SearchProductsResponse) Reset() + func (m *SearchProductsResponse) String() string + func (m *SearchProductsResponse) XXX_DiscardUnknown() + func (m *SearchProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SearchProductsResponse) XXX_Merge(src proto.Message) + func (m *SearchProductsResponse) XXX_Size() int + func (m *SearchProductsResponse) XXX_Unmarshal(b []byte) error + type SendOrderConfirmationRequest struct + Email string + Order *OrderResult + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SendOrderConfirmationRequest) Descriptor() ([]byte, []int) + func (*SendOrderConfirmationRequest) ProtoMessage() + func (m *SendOrderConfirmationRequest) GetEmail() string + func (m *SendOrderConfirmationRequest) GetOrder() *OrderResult + func (m *SendOrderConfirmationRequest) Reset() + func (m *SendOrderConfirmationRequest) String() string + func (m *SendOrderConfirmationRequest) XXX_DiscardUnknown() + func (m *SendOrderConfirmationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SendOrderConfirmationRequest) XXX_Merge(src proto.Message) + func (m *SendOrderConfirmationRequest) XXX_Size() int + func (m *SendOrderConfirmationRequest) XXX_Unmarshal(b []byte) error + type ShipOrderRequest struct + Address *Address + Items []*CartItem + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ShipOrderRequest) Descriptor() ([]byte, []int) + func (*ShipOrderRequest) ProtoMessage() + func (m *ShipOrderRequest) GetAddress() *Address + func (m *ShipOrderRequest) GetItems() []*CartItem + func (m *ShipOrderRequest) Reset() + func (m *ShipOrderRequest) String() string + func (m *ShipOrderRequest) XXX_DiscardUnknown() + func (m *ShipOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ShipOrderRequest) XXX_Merge(src proto.Message) + func (m *ShipOrderRequest) XXX_Size() int + func (m *ShipOrderRequest) XXX_Unmarshal(b []byte) error + type ShipOrderResponse struct + TrackingId string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ShipOrderResponse) Descriptor() ([]byte, []int) + func (*ShipOrderResponse) ProtoMessage() + func (m *ShipOrderResponse) GetTrackingId() string + func (m *ShipOrderResponse) Reset() + func (m *ShipOrderResponse) String() string + func (m *ShipOrderResponse) XXX_DiscardUnknown() + func (m *ShipOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ShipOrderResponse) XXX_Merge(src proto.Message) + func (m *ShipOrderResponse) XXX_Size() int + func (m *ShipOrderResponse) XXX_Unmarshal(b []byte) error + type ShippingServiceClient interface + GetQuote func(ctx context.Context, in *GetQuoteRequest, opts ...grpc.CallOption) (*GetQuoteResponse, error) + ShipOrder func(ctx context.Context, in *ShipOrderRequest, opts ...grpc.CallOption) (*ShipOrderResponse, error) + func NewShippingServiceClient(cc *grpc.ClientConn) ShippingServiceClient + type ShippingServiceServer interface + GetQuote func(context.Context, *GetQuoteRequest) (*GetQuoteResponse, error) + ShipOrder func(context.Context, *ShipOrderRequest) (*ShipOrderResponse, error)