SYMBOL INDEX (2102 symbols across 54 files) FILE: src/adservice/src/main/java/hipstershop/AdService.java class AdService (line 41) | public final class AdService { method start (line 53) | private void start() throws IOException { method stop (line 77) | private void stop() { class AdServiceImpl (line 84) | private static class AdServiceImpl extends hipstershop.AdServiceGrpc.A... method getAds (line 93) | @Override method getAdsByCategory (line 123) | private Collection getAdsByCategory(String category) { method getRandomAds (line 129) | private List getRandomAds() { method getInstance (line 138) | private static AdService getInstance() { method blockUntilShutdown (line 143) | private void blockUntilShutdown() throws InterruptedException { method createAdsMap (line 149) | private static ImmutableListMultimap createAdsMap() { method initStats (line 195) | private static void initStats() { method initTracing (line 209) | private static void initTracing() { method main (line 223) | public static void main(String[] args) throws IOException, Interrupted... FILE: src/adservice/src/main/java/hipstershop/AdServiceClient.java class AdServiceClient (line 32) | public class AdServiceClient { method AdServiceClient (line 40) | private AdServiceClient(String host, int port) { method AdServiceClient (line 50) | private AdServiceClient(ManagedChannel channel) { method shutdown (line 55) | private void shutdown() throws InterruptedException { method getAds (line 60) | public void getAds(String contextKey) { method getPortOrDefaultFromArgs (line 76) | private static int getPortOrDefaultFromArgs(String[] args) { method getStringOrDefaultFromArgs (line 88) | private static String getStringOrDefaultFromArgs( method main (line 101) | public static void main(String[] args) throws InterruptedException { FILE: src/cartservice/src/Startup.cs class Startup (line 16) | public class Startup method Startup (line 18) | public Startup(IConfiguration configuration) method ConfigureServices (line 27) | public void ConfigureServices(IServiceCollection services) method Configure (line 63) | public void Configure(IApplicationBuilder app, IWebHostEnvironment env) FILE: src/cartservice/src/cartstore/AlloyDBCartStore.cs class AlloyDBCartStore (line 25) | public class AlloyDBCartStore : ICartStore method AlloyDBCartStore (line 30) | public AlloyDBCartStore(IConfiguration configuration) method AddItemAsync (line 62) | public async Task AddItemAsync(string userId, string productId, int qu... method GetCartAsync (line 104) | public async Task GetCartAsync(string userId) method EmptyCartAsync (line 141) | public async Task EmptyCartAsync(string userId) method Ping (line 164) | public bool Ping() FILE: src/cartservice/src/cartstore/ICartStore.cs type ICartStore (line 19) | public interface ICartStore method AddItemAsync (line 21) | Task AddItemAsync(string userId, string productId, int quantity); method EmptyCartAsync (line 22) | Task EmptyCartAsync(string userId); method GetCartAsync (line 23) | Task GetCartAsync(string userId); method Ping (line 24) | bool Ping(); FILE: src/cartservice/src/cartstore/RedisCartStore.cs class RedisCartStore (line 24) | public class RedisCartStore : ICartStore method RedisCartStore (line 28) | public RedisCartStore(IDistributedCache cache) method AddItemAsync (line 33) | public async Task AddItemAsync(string userId, string productId, int qu... method EmptyCartAsync (line 68) | public async Task EmptyCartAsync(string userId) method GetCartAsync (line 83) | public async Task GetCartAsync(string userId) method Ping (line 106) | public bool Ping() FILE: src/cartservice/src/cartstore/SpannerCartStore.cs class SpannerCartStore (line 23) | public class SpannerCartStore : ICartStore method SpannerCartStore (line 30) | public SpannerCartStore(IConfiguration configuration) method AddItemAsync (line 54) | public async Task AddItemAsync(string userId, string productId, int qu... method GetCartAsync (line 105) | public async Task GetCartAsync(string userId) method EmptyCartAsync (line 145) | public async Task EmptyCartAsync(string userId) method Ping (line 172) | public bool Ping() FILE: src/cartservice/src/services/CartService.cs class CartService (line 24) | public class CartService : Hipstershop.CartService.CartServiceBase method CartService (line 29) | public CartService(ICartStore cartStore) method AddItem (line 34) | public async override Task AddItem(AddItemRequest request, Serv... method GetCart (line 40) | public override Task GetCart(GetCartRequest request, ServerCallC... method EmptyCart (line 45) | public async override Task EmptyCart(EmptyCartRequest request, ... FILE: src/cartservice/src/services/HealthCheckService.cs class HealthCheckService (line 24) | internal class HealthCheckService : HealthBase method HealthCheckService (line 28) | public HealthCheckService (ICartStore cartStore) method Check (line 33) | public override Task Check(HealthCheckRequest req... FILE: src/cartservice/tests/CartServiceTests.cs class CartServiceTests (line 27) | public class CartServiceTests method CartServiceTests (line 31) | public CartServiceTests() method GetItem_NoAddItemBefore_EmptyCartReturned (line 41) | [Fact] method AddItem_ItemExists_Updated (line 70) | [Fact] method AddItem_New_Inserted (line 116) | [Fact] FILE: src/checkoutservice/genproto/demo.pb.go constant _ (line 32) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 34) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 37) | type CartItem struct method Reset (line 46) | func (x *CartItem) Reset() { method String (line 55) | func (x *CartItem) String() string { method ProtoMessage (line 59) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 61) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 74) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 78) | func (x *CartItem) GetProductId() string { method GetQuantity (line 85) | func (x *CartItem) GetQuantity() int32 { type AddItemRequest (line 92) | type AddItemRequest struct method Reset (line 101) | func (x *AddItemRequest) Reset() { method String (line 110) | func (x *AddItemRequest) String() string { method ProtoMessage (line 114) | func (*AddItemRequest) ProtoMessage() {} method ProtoReflect (line 116) | func (x *AddItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*AddItemRequest) Descriptor() ([]byte, []int) { method GetUserId (line 133) | func (x *AddItemRequest) GetUserId() string { method GetItem (line 140) | func (x *AddItemRequest) GetItem() *CartItem { type EmptyCartRequest (line 147) | type EmptyCartRequest struct method Reset (line 155) | func (x *EmptyCartRequest) Reset() { method String (line 164) | func (x *EmptyCartRequest) String() string { method ProtoMessage (line 168) | func (*EmptyCartRequest) ProtoMessage() {} method ProtoReflect (line 170) | func (x *EmptyCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 183) | func (*EmptyCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 187) | func (x *EmptyCartRequest) GetUserId() string { type GetCartRequest (line 194) | type GetCartRequest struct method Reset (line 202) | func (x *GetCartRequest) Reset() { method String (line 211) | func (x *GetCartRequest) String() string { method ProtoMessage (line 215) | func (*GetCartRequest) ProtoMessage() {} method ProtoReflect (line 217) | func (x *GetCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 230) | func (*GetCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 234) | func (x *GetCartRequest) GetUserId() string { type Cart (line 241) | type Cart struct method Reset (line 250) | func (x *Cart) Reset() { method String (line 259) | func (x *Cart) String() string { method ProtoMessage (line 263) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 265) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 278) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 282) | func (x *Cart) GetUserId() string { method GetItems (line 289) | func (x *Cart) GetItems() []*CartItem { type Empty (line 296) | type Empty struct method Reset (line 302) | func (x *Empty) Reset() { method String (line 311) | func (x *Empty) String() string { method ProtoMessage (line 315) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 317) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 330) | func (*Empty) Descriptor() ([]byte, []int) { type ListRecommendationsRequest (line 334) | type ListRecommendationsRequest struct method Reset (line 343) | func (x *ListRecommendationsRequest) Reset() { method String (line 352) | func (x *ListRecommendationsRequest) String() string { method ProtoMessage (line 356) | func (*ListRecommendationsRequest) ProtoMessage() {} method ProtoReflect (line 358) | func (x *ListRecommendationsRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 371) | func (*ListRecommendationsRequest) Descriptor() ([]byte, []int) { method GetUserId (line 375) | func (x *ListRecommendationsRequest) GetUserId() string { method GetProductIds (line 382) | func (x *ListRecommendationsRequest) GetProductIds() []string { type ListRecommendationsResponse (line 389) | type ListRecommendationsResponse struct method Reset (line 397) | func (x *ListRecommendationsResponse) Reset() { method String (line 406) | func (x *ListRecommendationsResponse) String() string { method ProtoMessage (line 410) | func (*ListRecommendationsResponse) ProtoMessage() {} method ProtoReflect (line 412) | func (x *ListRecommendationsResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 425) | func (*ListRecommendationsResponse) Descriptor() ([]byte, []int) { method GetProductIds (line 429) | func (x *ListRecommendationsResponse) GetProductIds() []string { type Product (line 436) | type Product struct method Reset (line 451) | func (x *Product) Reset() { method String (line 460) | func (x *Product) String() string { method ProtoMessage (line 464) | func (*Product) ProtoMessage() {} method ProtoReflect (line 466) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 479) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 483) | func (x *Product) GetId() string { method GetName (line 490) | func (x *Product) GetName() string { method GetDescription (line 497) | func (x *Product) GetDescription() string { method GetPicture (line 504) | func (x *Product) GetPicture() string { method GetPriceUsd (line 511) | func (x *Product) GetPriceUsd() *Money { method GetCategories (line 518) | func (x *Product) GetCategories() []string { type ListProductsResponse (line 525) | type ListProductsResponse struct method Reset (line 533) | func (x *ListProductsResponse) Reset() { method String (line 542) | func (x *ListProductsResponse) String() string { method ProtoMessage (line 546) | func (*ListProductsResponse) ProtoMessage() {} method ProtoReflect (line 548) | func (x *ListProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 561) | func (*ListProductsResponse) Descriptor() ([]byte, []int) { method GetProducts (line 565) | func (x *ListProductsResponse) GetProducts() []*Product { type GetProductRequest (line 572) | type GetProductRequest struct method Reset (line 580) | func (x *GetProductRequest) Reset() { method String (line 589) | func (x *GetProductRequest) String() string { method ProtoMessage (line 593) | func (*GetProductRequest) ProtoMessage() {} method ProtoReflect (line 595) | func (x *GetProductRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 608) | func (*GetProductRequest) Descriptor() ([]byte, []int) { method GetId (line 612) | func (x *GetProductRequest) GetId() string { type SearchProductsRequest (line 619) | type SearchProductsRequest struct method Reset (line 627) | func (x *SearchProductsRequest) Reset() { method String (line 636) | func (x *SearchProductsRequest) String() string { method ProtoMessage (line 640) | func (*SearchProductsRequest) ProtoMessage() {} method ProtoReflect (line 642) | func (x *SearchProductsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 655) | func (*SearchProductsRequest) Descriptor() ([]byte, []int) { method GetQuery (line 659) | func (x *SearchProductsRequest) GetQuery() string { type SearchProductsResponse (line 666) | type SearchProductsResponse struct method Reset (line 674) | func (x *SearchProductsResponse) Reset() { method String (line 683) | func (x *SearchProductsResponse) String() string { method ProtoMessage (line 687) | func (*SearchProductsResponse) ProtoMessage() {} method ProtoReflect (line 689) | func (x *SearchProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 702) | func (*SearchProductsResponse) Descriptor() ([]byte, []int) { method GetResults (line 706) | func (x *SearchProductsResponse) GetResults() []*Product { type GetQuoteRequest (line 713) | type GetQuoteRequest struct method Reset (line 722) | func (x *GetQuoteRequest) Reset() { method String (line 731) | func (x *GetQuoteRequest) String() string { method ProtoMessage (line 735) | func (*GetQuoteRequest) ProtoMessage() {} method ProtoReflect (line 737) | func (x *GetQuoteRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 750) | func (*GetQuoteRequest) Descriptor() ([]byte, []int) { method GetAddress (line 754) | func (x *GetQuoteRequest) GetAddress() *Address { method GetItems (line 761) | func (x *GetQuoteRequest) GetItems() []*CartItem { type GetQuoteResponse (line 768) | type GetQuoteResponse struct method Reset (line 776) | func (x *GetQuoteResponse) Reset() { method String (line 785) | func (x *GetQuoteResponse) String() string { method ProtoMessage (line 789) | func (*GetQuoteResponse) ProtoMessage() {} method ProtoReflect (line 791) | func (x *GetQuoteResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 804) | func (*GetQuoteResponse) Descriptor() ([]byte, []int) { method GetCostUsd (line 808) | func (x *GetQuoteResponse) GetCostUsd() *Money { type ShipOrderRequest (line 815) | type ShipOrderRequest struct method Reset (line 824) | func (x *ShipOrderRequest) Reset() { method String (line 833) | func (x *ShipOrderRequest) String() string { method ProtoMessage (line 837) | func (*ShipOrderRequest) ProtoMessage() {} method ProtoReflect (line 839) | func (x *ShipOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 852) | func (*ShipOrderRequest) Descriptor() ([]byte, []int) { method GetAddress (line 856) | func (x *ShipOrderRequest) GetAddress() *Address { method GetItems (line 863) | func (x *ShipOrderRequest) GetItems() []*CartItem { type ShipOrderResponse (line 870) | type ShipOrderResponse struct method Reset (line 878) | func (x *ShipOrderResponse) Reset() { method String (line 887) | func (x *ShipOrderResponse) String() string { method ProtoMessage (line 891) | func (*ShipOrderResponse) ProtoMessage() {} method ProtoReflect (line 893) | func (x *ShipOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 906) | func (*ShipOrderResponse) Descriptor() ([]byte, []int) { method GetTrackingId (line 910) | func (x *ShipOrderResponse) GetTrackingId() string { type Address (line 917) | type Address struct method Reset (line 929) | func (x *Address) Reset() { method String (line 938) | func (x *Address) String() string { method ProtoMessage (line 942) | func (*Address) ProtoMessage() {} method ProtoReflect (line 944) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 957) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 961) | func (x *Address) GetStreetAddress() string { method GetCity (line 968) | func (x *Address) GetCity() string { method GetState (line 975) | func (x *Address) GetState() string { method GetCountry (line 982) | func (x *Address) GetCountry() string { method GetZipCode (line 989) | func (x *Address) GetZipCode() int32 { type Money (line 997) | type Money struct method Reset (line 1016) | func (x *Money) Reset() { method String (line 1025) | func (x *Money) String() string { method ProtoMessage (line 1029) | func (*Money) ProtoMessage() {} method ProtoReflect (line 1031) | func (x *Money) ProtoReflect() protoreflect.Message { method Descriptor (line 1044) | func (*Money) Descriptor() ([]byte, []int) { method GetCurrencyCode (line 1048) | func (x *Money) GetCurrencyCode() string { method GetUnits (line 1055) | func (x *Money) GetUnits() int64 { method GetNanos (line 1062) | func (x *Money) GetNanos() int32 { type GetSupportedCurrenciesResponse (line 1069) | type GetSupportedCurrenciesResponse struct method Reset (line 1078) | func (x *GetSupportedCurrenciesResponse) Reset() { method String (line 1087) | func (x *GetSupportedCurrenciesResponse) String() string { method ProtoMessage (line 1091) | func (*GetSupportedCurrenciesResponse) ProtoMessage() {} method ProtoReflect (line 1093) | func (x *GetSupportedCurrenciesResponse) ProtoReflect() protoreflect.M... method Descriptor (line 1106) | func (*GetSupportedCurrenciesResponse) Descriptor() ([]byte, []int) { method GetCurrencyCodes (line 1110) | func (x *GetSupportedCurrenciesResponse) GetCurrencyCodes() []string { type CurrencyConversionRequest (line 1117) | type CurrencyConversionRequest struct method Reset (line 1127) | func (x *CurrencyConversionRequest) Reset() { method String (line 1136) | func (x *CurrencyConversionRequest) String() string { method ProtoMessage (line 1140) | func (*CurrencyConversionRequest) ProtoMessage() {} method ProtoReflect (line 1142) | func (x *CurrencyConversionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1155) | func (*CurrencyConversionRequest) Descriptor() ([]byte, []int) { method GetFrom (line 1159) | func (x *CurrencyConversionRequest) GetFrom() *Money { method GetToCode (line 1166) | func (x *CurrencyConversionRequest) GetToCode() string { type CreditCardInfo (line 1173) | type CreditCardInfo struct method Reset (line 1184) | func (x *CreditCardInfo) Reset() { method String (line 1193) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 1197) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 1199) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1212) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 1216) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 1223) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 1230) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 1237) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeRequest (line 1244) | type ChargeRequest struct method Reset (line 1253) | func (x *ChargeRequest) Reset() { method String (line 1262) | func (x *ChargeRequest) String() string { method ProtoMessage (line 1266) | func (*ChargeRequest) ProtoMessage() {} method ProtoReflect (line 1268) | func (x *ChargeRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1281) | func (*ChargeRequest) Descriptor() ([]byte, []int) { method GetAmount (line 1285) | func (x *ChargeRequest) GetAmount() *Money { method GetCreditCard (line 1292) | func (x *ChargeRequest) GetCreditCard() *CreditCardInfo { type ChargeResponse (line 1299) | type ChargeResponse struct method Reset (line 1307) | func (x *ChargeResponse) Reset() { method String (line 1316) | func (x *ChargeResponse) String() string { method ProtoMessage (line 1320) | func (*ChargeResponse) ProtoMessage() {} method ProtoReflect (line 1322) | func (x *ChargeResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1335) | func (*ChargeResponse) Descriptor() ([]byte, []int) { method GetTransactionId (line 1339) | func (x *ChargeResponse) GetTransactionId() string { type OrderItem (line 1346) | type OrderItem struct method Reset (line 1355) | func (x *OrderItem) Reset() { method String (line 1364) | func (x *OrderItem) String() string { method ProtoMessage (line 1368) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 1370) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 1383) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 1387) | func (x *OrderItem) GetItem() *CartItem { method GetCost (line 1394) | func (x *OrderItem) GetCost() *Money { type OrderResult (line 1401) | type OrderResult struct method Reset (line 1413) | func (x *OrderResult) Reset() { method String (line 1422) | func (x *OrderResult) String() string { method ProtoMessage (line 1426) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 1428) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 1441) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 1445) | func (x *OrderResult) GetOrderId() string { method GetShippingTrackingId (line 1452) | func (x *OrderResult) GetShippingTrackingId() string { method GetShippingCost (line 1459) | func (x *OrderResult) GetShippingCost() *Money { method GetShippingAddress (line 1466) | func (x *OrderResult) GetShippingAddress() *Address { method GetItems (line 1473) | func (x *OrderResult) GetItems() []*OrderItem { type SendOrderConfirmationRequest (line 1480) | type SendOrderConfirmationRequest struct method Reset (line 1489) | func (x *SendOrderConfirmationRequest) Reset() { method String (line 1498) | func (x *SendOrderConfirmationRequest) String() string { method ProtoMessage (line 1502) | func (*SendOrderConfirmationRequest) ProtoMessage() {} method ProtoReflect (line 1504) | func (x *SendOrderConfirmationRequest) ProtoReflect() protoreflect.Mes... method Descriptor (line 1517) | func (*SendOrderConfirmationRequest) Descriptor() ([]byte, []int) { method GetEmail (line 1521) | func (x *SendOrderConfirmationRequest) GetEmail() string { method GetOrder (line 1528) | func (x *SendOrderConfirmationRequest) GetOrder() *OrderResult { type PlaceOrderRequest (line 1535) | type PlaceOrderRequest struct method Reset (line 1547) | func (x *PlaceOrderRequest) Reset() { method String (line 1556) | func (x *PlaceOrderRequest) String() string { method ProtoMessage (line 1560) | func (*PlaceOrderRequest) ProtoMessage() {} method ProtoReflect (line 1562) | func (x *PlaceOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1575) | func (*PlaceOrderRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1579) | func (x *PlaceOrderRequest) GetUserId() string { method GetUserCurrency (line 1586) | func (x *PlaceOrderRequest) GetUserCurrency() string { method GetAddress (line 1593) | func (x *PlaceOrderRequest) GetAddress() *Address { method GetEmail (line 1600) | func (x *PlaceOrderRequest) GetEmail() string { method GetCreditCard (line 1607) | func (x *PlaceOrderRequest) GetCreditCard() *CreditCardInfo { type PlaceOrderResponse (line 1614) | type PlaceOrderResponse struct method Reset (line 1622) | func (x *PlaceOrderResponse) Reset() { method String (line 1631) | func (x *PlaceOrderResponse) String() string { method ProtoMessage (line 1635) | func (*PlaceOrderResponse) ProtoMessage() {} method ProtoReflect (line 1637) | func (x *PlaceOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1650) | func (*PlaceOrderResponse) Descriptor() ([]byte, []int) { method GetOrder (line 1654) | func (x *PlaceOrderResponse) GetOrder() *OrderResult { type AdRequest (line 1661) | type AdRequest struct method Reset (line 1670) | func (x *AdRequest) Reset() { method String (line 1679) | func (x *AdRequest) String() string { method ProtoMessage (line 1683) | func (*AdRequest) ProtoMessage() {} method ProtoReflect (line 1685) | func (x *AdRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1698) | func (*AdRequest) Descriptor() ([]byte, []int) { method GetContextKeys (line 1702) | func (x *AdRequest) GetContextKeys() []string { type AdResponse (line 1709) | type AdResponse struct method Reset (line 1717) | func (x *AdResponse) Reset() { method String (line 1726) | func (x *AdResponse) String() string { method ProtoMessage (line 1730) | func (*AdResponse) ProtoMessage() {} method ProtoReflect (line 1732) | func (x *AdResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1745) | func (*AdResponse) Descriptor() ([]byte, []int) { method GetAds (line 1749) | func (x *AdResponse) GetAds() []*Ad { type Ad (line 1756) | type Ad struct method Reset (line 1767) | func (x *Ad) Reset() { method String (line 1776) | func (x *Ad) String() string { method ProtoMessage (line 1780) | func (*Ad) ProtoMessage() {} method ProtoReflect (line 1782) | func (x *Ad) ProtoReflect() protoreflect.Message { method Descriptor (line 1795) | func (*Ad) Descriptor() ([]byte, []int) { method GetRedirectUrl (line 1799) | func (x *Ad) GetRedirectUrl() string { method GetText (line 1806) | func (x *Ad) GetText() string { function file_demo_proto_rawDescGZIP (line 2098) | func file_demo_proto_rawDescGZIP() []byte { function init (line 2201) | func init() { file_demo_proto_init() } function file_demo_proto_init (line 2202) | func file_demo_proto_init() { FILE: src/checkoutservice/genproto/demo_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant CartService_AddItem_FullMethodName (line 36) | CartService_AddItem_FullMethodName = "/hipstershop.CartService/AddItem" constant CartService_GetCart_FullMethodName (line 37) | CartService_GetCart_FullMethodName = "/hipstershop.CartService/GetCart" constant CartService_EmptyCart_FullMethodName (line 38) | CartService_EmptyCart_FullMethodName = "/hipstershop.CartService/EmptyCart" type CartServiceClient (line 44) | type CartServiceClient interface type cartServiceClient (line 50) | type cartServiceClient struct method AddItem (line 58) | func (c *cartServiceClient) AddItem(ctx context.Context, in *AddItemRe... method GetCart (line 68) | func (c *cartServiceClient) GetCart(ctx context.Context, in *GetCartRe... method EmptyCart (line 78) | func (c *cartServiceClient) EmptyCart(ctx context.Context, in *EmptyCa... function NewCartServiceClient (line 54) | func NewCartServiceClient(cc grpc.ClientConnInterface) CartServiceClient { type CartServiceServer (line 91) | type CartServiceServer interface type UnimplementedCartServiceServer (line 103) | type UnimplementedCartServiceServer struct method AddItem (line 105) | func (UnimplementedCartServiceServer) AddItem(context.Context, *AddIte... method GetCart (line 108) | func (UnimplementedCartServiceServer) GetCart(context.Context, *GetCar... method EmptyCart (line 111) | func (UnimplementedCartServiceServer) EmptyCart(context.Context, *Empt... method mustEmbedUnimplementedCartServiceServer (line 114) | func (UnimplementedCartServiceServer) mustEmbedUnimplementedCartServic... method testEmbeddedByValue (line 115) | func (UnimplementedCartServiceServer) testEmbeddedByValue() ... type UnsafeCartServiceServer (line 120) | type UnsafeCartServiceServer interface function RegisterCartServiceServer (line 124) | func RegisterCartServiceServer(s grpc.ServiceRegistrar, srv CartServiceS... function _CartService_AddItem_Handler (line 135) | func _CartService_AddItem_Handler(srv interface{}, ctx context.Context, ... function _CartService_GetCart_Handler (line 153) | func _CartService_GetCart_Handler(srv interface{}, ctx context.Context, ... function _CartService_EmptyCart_Handler (line 171) | func _CartService_EmptyCart_Handler(srv interface{}, ctx context.Context... constant RecommendationService_ListRecommendations_FullMethodName (line 214) | RecommendationService_ListRecommendations_FullMethodName = "/hipstershop... type RecommendationServiceClient (line 220) | type RecommendationServiceClient interface type recommendationServiceClient (line 224) | type recommendationServiceClient struct method ListRecommendations (line 232) | func (c *recommendationServiceClient) ListRecommendations(ctx context.... function NewRecommendationServiceClient (line 228) | func NewRecommendationServiceClient(cc grpc.ClientConnInterface) Recomme... type RecommendationServiceServer (line 245) | type RecommendationServiceServer interface type UnimplementedRecommendationServiceServer (line 255) | type UnimplementedRecommendationServiceServer struct method ListRecommendations (line 257) | func (UnimplementedRecommendationServiceServer) ListRecommendations(co... method mustEmbedUnimplementedRecommendationServiceServer (line 260) | func (UnimplementedRecommendationServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 261) | func (UnimplementedRecommendationServiceServer) testEmbeddedByValue() ... type UnsafeRecommendationServiceServer (line 266) | type UnsafeRecommendationServiceServer interface function RegisterRecommendationServiceServer (line 270) | func RegisterRecommendationServiceServer(s grpc.ServiceRegistrar, srv Re... function _RecommendationService_ListRecommendations_Handler (line 281) | func _RecommendationService_ListRecommendations_Handler(srv interface{},... constant ProductCatalogService_ListProducts_FullMethodName (line 316) | ProductCatalogService_ListProducts_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_GetProduct_FullMethodName (line 317) | ProductCatalogService_GetProduct_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_SearchProducts_FullMethodName (line 318) | ProductCatalogService_SearchProducts_FullMethodName = "/hipstershop.Prod... type ProductCatalogServiceClient (line 324) | type ProductCatalogServiceClient interface type productCatalogServiceClient (line 330) | type productCatalogServiceClient struct method ListProducts (line 338) | func (c *productCatalogServiceClient) ListProducts(ctx context.Context... method GetProduct (line 348) | func (c *productCatalogServiceClient) GetProduct(ctx context.Context, ... method SearchProducts (line 358) | func (c *productCatalogServiceClient) SearchProducts(ctx context.Conte... function NewProductCatalogServiceClient (line 334) | func NewProductCatalogServiceClient(cc grpc.ClientConnInterface) Product... type ProductCatalogServiceServer (line 371) | type ProductCatalogServiceServer interface type UnimplementedProductCatalogServiceServer (line 383) | type UnimplementedProductCatalogServiceServer struct method ListProducts (line 385) | func (UnimplementedProductCatalogServiceServer) ListProducts(context.C... method GetProduct (line 388) | func (UnimplementedProductCatalogServiceServer) GetProduct(context.Con... method SearchProducts (line 391) | func (UnimplementedProductCatalogServiceServer) SearchProducts(context... method mustEmbedUnimplementedProductCatalogServiceServer (line 394) | func (UnimplementedProductCatalogServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 395) | func (UnimplementedProductCatalogServiceServer) testEmbeddedByValue() ... type UnsafeProductCatalogServiceServer (line 400) | type UnsafeProductCatalogServiceServer interface function RegisterProductCatalogServiceServer (line 404) | func RegisterProductCatalogServiceServer(s grpc.ServiceRegistrar, srv Pr... function _ProductCatalogService_ListProducts_Handler (line 415) | func _ProductCatalogService_ListProducts_Handler(srv interface{}, ctx co... function _ProductCatalogService_GetProduct_Handler (line 433) | func _ProductCatalogService_GetProduct_Handler(srv interface{}, ctx cont... function _ProductCatalogService_SearchProducts_Handler (line 451) | func _ProductCatalogService_SearchProducts_Handler(srv interface{}, ctx ... constant ShippingService_GetQuote_FullMethodName (line 494) | ShippingService_GetQuote_FullMethodName = "/hipstershop.ShippingService... constant ShippingService_ShipOrder_FullMethodName (line 495) | ShippingService_ShipOrder_FullMethodName = "/hipstershop.ShippingService... type ShippingServiceClient (line 501) | type ShippingServiceClient interface type shippingServiceClient (line 506) | type shippingServiceClient struct method GetQuote (line 514) | func (c *shippingServiceClient) GetQuote(ctx context.Context, in *GetQ... method ShipOrder (line 524) | func (c *shippingServiceClient) ShipOrder(ctx context.Context, in *Shi... function NewShippingServiceClient (line 510) | func NewShippingServiceClient(cc grpc.ClientConnInterface) ShippingServi... type ShippingServiceServer (line 537) | type ShippingServiceServer interface type UnimplementedShippingServiceServer (line 548) | type UnimplementedShippingServiceServer struct method GetQuote (line 550) | func (UnimplementedShippingServiceServer) GetQuote(context.Context, *G... method ShipOrder (line 553) | func (UnimplementedShippingServiceServer) ShipOrder(context.Context, *... method mustEmbedUnimplementedShippingServiceServer (line 556) | func (UnimplementedShippingServiceServer) mustEmbedUnimplementedShippi... method testEmbeddedByValue (line 557) | func (UnimplementedShippingServiceServer) testEmbeddedByValue() ... type UnsafeShippingServiceServer (line 562) | type UnsafeShippingServiceServer interface function RegisterShippingServiceServer (line 566) | func RegisterShippingServiceServer(s grpc.ServiceRegistrar, srv Shipping... function _ShippingService_GetQuote_Handler (line 577) | func _ShippingService_GetQuote_Handler(srv interface{}, ctx context.Cont... function _ShippingService_ShipOrder_Handler (line 595) | func _ShippingService_ShipOrder_Handler(srv interface{}, ctx context.Con... constant CurrencyService_GetSupportedCurrencies_FullMethodName (line 634) | CurrencyService_GetSupportedCurrencies_FullMethodName = "/hipstershop.Cu... constant CurrencyService_Convert_FullMethodName (line 635) | CurrencyService_Convert_FullMethodName = "/hipstershop.Cu... type CurrencyServiceClient (line 641) | type CurrencyServiceClient interface type currencyServiceClient (line 646) | type currencyServiceClient struct method GetSupportedCurrencies (line 654) | func (c *currencyServiceClient) GetSupportedCurrencies(ctx context.Con... method Convert (line 664) | func (c *currencyServiceClient) Convert(ctx context.Context, in *Curre... function NewCurrencyServiceClient (line 650) | func NewCurrencyServiceClient(cc grpc.ClientConnInterface) CurrencyServi... type CurrencyServiceServer (line 677) | type CurrencyServiceServer interface type UnimplementedCurrencyServiceServer (line 688) | type UnimplementedCurrencyServiceServer struct method GetSupportedCurrencies (line 690) | func (UnimplementedCurrencyServiceServer) GetSupportedCurrencies(conte... method Convert (line 693) | func (UnimplementedCurrencyServiceServer) Convert(context.Context, *Cu... method mustEmbedUnimplementedCurrencyServiceServer (line 696) | func (UnimplementedCurrencyServiceServer) mustEmbedUnimplementedCurren... method testEmbeddedByValue (line 697) | func (UnimplementedCurrencyServiceServer) testEmbeddedByValue() ... type UnsafeCurrencyServiceServer (line 702) | type UnsafeCurrencyServiceServer interface function RegisterCurrencyServiceServer (line 706) | func RegisterCurrencyServiceServer(s grpc.ServiceRegistrar, srv Currency... function _CurrencyService_GetSupportedCurrencies_Handler (line 717) | func _CurrencyService_GetSupportedCurrencies_Handler(srv interface{}, ct... function _CurrencyService_Convert_Handler (line 735) | func _CurrencyService_Convert_Handler(srv interface{}, ctx context.Conte... constant PaymentService_Charge_FullMethodName (line 774) | PaymentService_Charge_FullMethodName = "/hipstershop.PaymentService/Charge" type PaymentServiceClient (line 780) | type PaymentServiceClient interface type paymentServiceClient (line 784) | type paymentServiceClient struct method Charge (line 792) | func (c *paymentServiceClient) Charge(ctx context.Context, in *ChargeR... function NewPaymentServiceClient (line 788) | func NewPaymentServiceClient(cc grpc.ClientConnInterface) PaymentService... type PaymentServiceServer (line 805) | type PaymentServiceServer interface type UnimplementedPaymentServiceServer (line 815) | type UnimplementedPaymentServiceServer struct method Charge (line 817) | func (UnimplementedPaymentServiceServer) Charge(context.Context, *Char... method mustEmbedUnimplementedPaymentServiceServer (line 820) | func (UnimplementedPaymentServiceServer) mustEmbedUnimplementedPayment... method testEmbeddedByValue (line 821) | func (UnimplementedPaymentServiceServer) testEmbeddedByValue() ... type UnsafePaymentServiceServer (line 826) | type UnsafePaymentServiceServer interface function RegisterPaymentServiceServer (line 830) | func RegisterPaymentServiceServer(s grpc.ServiceRegistrar, srv PaymentSe... function _PaymentService_Charge_Handler (line 841) | func _PaymentService_Charge_Handler(srv interface{}, ctx context.Context... constant EmailService_SendOrderConfirmation_FullMethodName (line 876) | EmailService_SendOrderConfirmation_FullMethodName = "/hipstershop.EmailS... type EmailServiceClient (line 882) | type EmailServiceClient interface type emailServiceClient (line 886) | type emailServiceClient struct method SendOrderConfirmation (line 894) | func (c *emailServiceClient) SendOrderConfirmation(ctx context.Context... function NewEmailServiceClient (line 890) | func NewEmailServiceClient(cc grpc.ClientConnInterface) EmailServiceClie... type EmailServiceServer (line 907) | type EmailServiceServer interface type UnimplementedEmailServiceServer (line 917) | type UnimplementedEmailServiceServer struct method SendOrderConfirmation (line 919) | func (UnimplementedEmailServiceServer) SendOrderConfirmation(context.C... method mustEmbedUnimplementedEmailServiceServer (line 922) | func (UnimplementedEmailServiceServer) mustEmbedUnimplementedEmailServ... method testEmbeddedByValue (line 923) | func (UnimplementedEmailServiceServer) testEmbeddedByValue() ... type UnsafeEmailServiceServer (line 928) | type UnsafeEmailServiceServer interface function RegisterEmailServiceServer (line 932) | func RegisterEmailServiceServer(s grpc.ServiceRegistrar, srv EmailServic... function _EmailService_SendOrderConfirmation_Handler (line 943) | func _EmailService_SendOrderConfirmation_Handler(srv interface{}, ctx co... constant CheckoutService_PlaceOrder_FullMethodName (line 978) | CheckoutService_PlaceOrder_FullMethodName = "/hipstershop.CheckoutServic... type CheckoutServiceClient (line 984) | type CheckoutServiceClient interface type checkoutServiceClient (line 988) | type checkoutServiceClient struct method PlaceOrder (line 996) | func (c *checkoutServiceClient) PlaceOrder(ctx context.Context, in *Pl... function NewCheckoutServiceClient (line 992) | func NewCheckoutServiceClient(cc grpc.ClientConnInterface) CheckoutServi... type CheckoutServiceServer (line 1009) | type CheckoutServiceServer interface type UnimplementedCheckoutServiceServer (line 1019) | type UnimplementedCheckoutServiceServer struct method PlaceOrder (line 1021) | func (UnimplementedCheckoutServiceServer) PlaceOrder(context.Context, ... method mustEmbedUnimplementedCheckoutServiceServer (line 1024) | func (UnimplementedCheckoutServiceServer) mustEmbedUnimplementedChecko... method testEmbeddedByValue (line 1025) | func (UnimplementedCheckoutServiceServer) testEmbeddedByValue() ... type UnsafeCheckoutServiceServer (line 1030) | type UnsafeCheckoutServiceServer interface function RegisterCheckoutServiceServer (line 1034) | func RegisterCheckoutServiceServer(s grpc.ServiceRegistrar, srv Checkout... function _CheckoutService_PlaceOrder_Handler (line 1045) | func _CheckoutService_PlaceOrder_Handler(srv interface{}, ctx context.Co... constant AdService_GetAds_FullMethodName (line 1080) | AdService_GetAds_FullMethodName = "/hipstershop.AdService/GetAds" type AdServiceClient (line 1086) | type AdServiceClient interface type adServiceClient (line 1090) | type adServiceClient struct method GetAds (line 1098) | func (c *adServiceClient) GetAds(ctx context.Context, in *AdRequest, o... function NewAdServiceClient (line 1094) | func NewAdServiceClient(cc grpc.ClientConnInterface) AdServiceClient { type AdServiceServer (line 1111) | type AdServiceServer interface type UnimplementedAdServiceServer (line 1121) | type UnimplementedAdServiceServer struct method GetAds (line 1123) | func (UnimplementedAdServiceServer) GetAds(context.Context, *AdRequest... method mustEmbedUnimplementedAdServiceServer (line 1126) | func (UnimplementedAdServiceServer) mustEmbedUnimplementedAdServiceSer... method testEmbeddedByValue (line 1127) | func (UnimplementedAdServiceServer) testEmbeddedByValue() ... type UnsafeAdServiceServer (line 1132) | type UnsafeAdServiceServer interface function RegisterAdServiceServer (line 1136) | func RegisterAdServiceServer(s grpc.ServiceRegistrar, srv AdServiceServe... function _AdService_GetAds_Handler (line 1147) | func _AdService_GetAds_Handler(srv interface{}, ctx context.Context, dec... FILE: src/checkoutservice/main.go constant listenPort (line 46) | listenPort = "5050" constant usdCurrency (line 47) | usdCurrency = "USD" function init (line 52) | func init() { type checkoutService (line 66) | type checkoutService struct method Check (line 222) | func (cs *checkoutService) Check(ctx context.Context, req *healthpb.He... method Watch (line 226) | func (cs *checkoutService) Watch(req *healthpb.HealthCheckRequest, ws ... method PlaceOrder (line 230) | func (cs *checkoutService) PlaceOrder(ctx context.Context, req *pb.Pla... method prepareOrderItemsAndShippingQuoteFromCart (line 288) | func (cs *checkoutService) prepareOrderItemsAndShippingQuoteFromCart(c... method quoteShipping (line 313) | func (cs *checkoutService) quoteShipping(ctx context.Context, address ... method getUserCart (line 324) | func (cs *checkoutService) getUserCart(ctx context.Context, userID str... method emptyUserCart (line 332) | func (cs *checkoutService) emptyUserCart(ctx context.Context, userID s... method prepOrderItems (line 339) | func (cs *checkoutService) prepOrderItems(ctx context.Context, items [... method convertCurrency (line 359) | func (cs *checkoutService) convertCurrency(ctx context.Context, from *... method chargeCard (line 369) | func (cs *checkoutService) chargeCard(ctx context.Context, amount *pb.... method sendOrderConfirmation (line 379) | func (cs *checkoutService) sendOrderConfirmation(ctx context.Context, ... method shipOrder (line 386) | func (cs *checkoutService) shipOrder(ctx context.Context, address *pb.... function main (line 88) | func main() { function initStats (line 150) | func initStats() { function initTracing (line 154) | func initTracing() { function initProfiling (line 180) | func initProfiling(service, version string) { function mustMapEnv (line 202) | func mustMapEnv(target *string, envKey string) { function mustConnGRPC (line 210) | func mustConnGRPC(ctx context.Context, conn **grpc.ClientConn, addr stri... type orderPrep (line 282) | type orderPrep struct FILE: src/checkoutservice/money/money.go constant nanosMin (line 24) | nanosMin = -999999999 constant nanosMax (line 25) | nanosMax = +999999999 constant nanosMod (line 26) | nanosMod = 1000000000 function IsValid (line 35) | func IsValid(m pb.Money) bool { function signMatches (line 39) | func signMatches(m pb.Money) bool { function validNanos (line 43) | func validNanos(nanos int32) bool { return nanosMin <= nanos && nanos <=... function IsZero (line 46) | func IsZero(m pb.Money) bool { return m.GetUnits() == 0 && m.GetNanos() ... function IsPositive (line 50) | func IsPositive(m pb.Money) bool { function IsNegative (line 56) | func IsNegative(m pb.Money) bool { function AreSameCurrency (line 62) | func AreSameCurrency(l, r pb.Money) bool { function AreEquals (line 68) | func AreEquals(l, r pb.Money) bool { function Negate (line 74) | func Negate(m pb.Money) pb.Money { function Must (line 83) | func Must(v pb.Money, err error) pb.Money { function Sum (line 93) | func Sum(l, r pb.Money) (pb.Money, error) { function MultiplySlow (line 125) | func MultiplySlow(m pb.Money, n uint32) pb.Money { FILE: src/checkoutservice/money/money_test.go function mmc (line 25) | func mmc(u int64, n int32, c string) pb.Money { return pb.Money{Units: u... function mm (line 26) | func mm(u int64, n int32) pb.Money { return mmc(u, n, "") } function TestIsValid (line 28) | func TestIsValid(t *testing.T) { function TestIsZero (line 52) | func TestIsZero(t *testing.T) { function TestIsPositive (line 73) | func TestIsPositive(t *testing.T) { function TestIsNegative (line 94) | func TestIsNegative(t *testing.T) { function TestAreSameCurrency (line 115) | func TestAreSameCurrency(t *testing.T) { function TestAreEquals (line 140) | func TestAreEquals(t *testing.T) { function TestNegate (line 165) | func TestNegate(t *testing.T) { function TestMust_pass (line 185) | func TestMust_pass(t *testing.T) { function TestMust_panic (line 192) | func TestMust_panic(t *testing.T) { function TestSum (line 202) | func TestSum(t *testing.T) { FILE: src/currencyservice/client.js constant PROTO_PATH (line 24) | const PROTO_PATH = path.join(__dirname, './proto/demo.proto'); constant PORT (line 25) | const PORT = 7000; method level (line 35) | level (logLevelString, logLevelNum) { function _moneyToString (line 50) | function _moneyToString (m) { FILE: src/currencyservice/server.js method level (line 22) | level (logLevelString, logLevelNum) { constant MAIN_PROTO_PATH (line 80) | const MAIN_PROTO_PATH = path.join(__dirname, './proto/demo.proto'); constant HEALTH_PROTO_PATH (line 81) | const HEALTH_PROTO_PATH = path.join(__dirname, './proto/grpc/health/v1/h... constant PORT (line 83) | const PORT = process.env.PORT; function _loadProto (line 91) | function _loadProto (path) { function _getCurrencyData (line 109) | function _getCurrencyData (callback) { function _carry (line 117) | function _carry (amount) { function getSupportedCurrencies (line 128) | function getSupportedCurrencies (call, callback) { function convert (line 138) | function convert (call, callback) { function check (line 174) | function check (call, callback) { function main (line 182) | function main () { FILE: src/emailservice/demo_pb2_grpc.py class CartServiceStub (line 24) | class CartServiceStub(object): method __init__ (line 29) | def __init__(self, channel): class CartServiceServicer (line 52) | class CartServiceServicer(object): method AddItem (line 57) | def AddItem(self, request, context): method GetCart (line 63) | def GetCart(self, request, context): method EmptyCart (line 69) | def EmptyCart(self, request, context): function add_CartServiceServicer_to_server (line 76) | def add_CartServiceServicer_to_server(servicer, server): class CartService (line 100) | class CartService(object): method AddItem (line 106) | def AddItem(request, method GetCart (line 123) | def GetCart(request, method EmptyCart (line 140) | def EmptyCart(request, class RecommendationServiceStub (line 157) | class RecommendationServiceStub(object): method __init__ (line 162) | def __init__(self, channel): class RecommendationServiceServicer (line 175) | class RecommendationServiceServicer(object): method ListRecommendations (line 180) | def ListRecommendations(self, request, context): function add_RecommendationServiceServicer_to_server (line 187) | def add_RecommendationServiceServicer_to_server(servicer, server): class RecommendationService (line 201) | class RecommendationService(object): method ListRecommendations (line 207) | def ListRecommendations(request, class ProductCatalogServiceStub (line 224) | class ProductCatalogServiceStub(object): method __init__ (line 229) | def __init__(self, channel): class ProductCatalogServiceServicer (line 252) | class ProductCatalogServiceServicer(object): method ListProducts (line 257) | def ListProducts(self, request, context): method GetProduct (line 263) | def GetProduct(self, request, context): method SearchProducts (line 269) | def SearchProducts(self, request, context): function add_ProductCatalogServiceServicer_to_server (line 276) | def add_ProductCatalogServiceServicer_to_server(servicer, server): class ProductCatalogService (line 300) | class ProductCatalogService(object): method ListProducts (line 306) | def ListProducts(request, method GetProduct (line 323) | def GetProduct(request, method SearchProducts (line 340) | def SearchProducts(request, class ShippingServiceStub (line 357) | class ShippingServiceStub(object): method __init__ (line 362) | def __init__(self, channel): class ShippingServiceServicer (line 380) | class ShippingServiceServicer(object): method GetQuote (line 385) | def GetQuote(self, request, context): method ShipOrder (line 391) | def ShipOrder(self, request, context): function add_ShippingServiceServicer_to_server (line 398) | def add_ShippingServiceServicer_to_server(servicer, server): class ShippingService (line 417) | class ShippingService(object): method GetQuote (line 423) | def GetQuote(request, method ShipOrder (line 440) | def ShipOrder(request, class CurrencyServiceStub (line 457) | class CurrencyServiceStub(object): method __init__ (line 462) | def __init__(self, channel): class CurrencyServiceServicer (line 480) | class CurrencyServiceServicer(object): method GetSupportedCurrencies (line 485) | def GetSupportedCurrencies(self, request, context): method Convert (line 491) | def Convert(self, request, context): function add_CurrencyServiceServicer_to_server (line 498) | def add_CurrencyServiceServicer_to_server(servicer, server): class CurrencyService (line 517) | class CurrencyService(object): method GetSupportedCurrencies (line 523) | def GetSupportedCurrencies(request, method Convert (line 540) | def Convert(request, class PaymentServiceStub (line 557) | class PaymentServiceStub(object): method __init__ (line 562) | def __init__(self, channel): class PaymentServiceServicer (line 575) | class PaymentServiceServicer(object): method Charge (line 580) | def Charge(self, request, context): function add_PaymentServiceServicer_to_server (line 587) | def add_PaymentServiceServicer_to_server(servicer, server): class PaymentService (line 601) | class PaymentService(object): method Charge (line 607) | def Charge(request, class EmailServiceStub (line 624) | class EmailServiceStub(object): method __init__ (line 629) | def __init__(self, channel): class EmailServiceServicer (line 642) | class EmailServiceServicer(object): method SendOrderConfirmation (line 647) | def SendOrderConfirmation(self, request, context): function add_EmailServiceServicer_to_server (line 654) | def add_EmailServiceServicer_to_server(servicer, server): class EmailService (line 668) | class EmailService(object): method SendOrderConfirmation (line 674) | def SendOrderConfirmation(request, class CheckoutServiceStub (line 691) | class CheckoutServiceStub(object): method __init__ (line 696) | def __init__(self, channel): class CheckoutServiceServicer (line 709) | class CheckoutServiceServicer(object): method PlaceOrder (line 714) | def PlaceOrder(self, request, context): function add_CheckoutServiceServicer_to_server (line 721) | def add_CheckoutServiceServicer_to_server(servicer, server): class CheckoutService (line 735) | class CheckoutService(object): method PlaceOrder (line 741) | def PlaceOrder(request, class AdServiceStub (line 758) | class AdServiceStub(object): method __init__ (line 763) | def __init__(self, channel): class AdServiceServicer (line 776) | class AdServiceServicer(object): method GetAds (line 781) | def GetAds(self, request, context): function add_AdServiceServicer_to_server (line 788) | def add_AdServiceServicer_to_server(servicer, server): class AdService (line 802) | class AdService(object): method GetAds (line 808) | def GetAds(request, FILE: src/emailservice/email_client.py function send_confirmation_email (line 25) | def send_confirmation_email(email, order): FILE: src/emailservice/email_server.py class BaseEmailService (line 52) | class BaseEmailService(demo_pb2_grpc.EmailServiceServicer): method Check (line 53) | def Check(self, request, context): method Watch (line 57) | def Watch(self, request, context): class EmailService (line 61) | class EmailService(BaseEmailService): method __init__ (line 62) | def __init__(self): method send_email (line 67) | def send_email(client, email_address, content): method SendOrderConfirmation (line 86) | def SendOrderConfirmation(self, request, context): class DummyEmailService (line 108) | class DummyEmailService(BaseEmailService): method SendOrderConfirmation (line 109) | def SendOrderConfirmation(self, request, context): class HealthCheck (line 113) | class HealthCheck(): method Check (line 114) | def Check(self, request, context): function start (line 118) | def start(dummy_mode): function initStackdriverProfiling (line 139) | def initStackdriverProfiling(): FILE: src/emailservice/logger.py class CustomJsonFormatter (line 23) | class CustomJsonFormatter(jsonlogger.JsonFormatter): method add_fields (line 24) | def add_fields(self, log_record, record, message_dict): function getJSONLogger (line 33) | def getJSONLogger(name): FILE: src/frontend/deployment_details.go function init (line 15) | func init() { function initializeLogger (line 22) | func initializeLogger() { function loadDeploymentDetails (line 36) | func loadDeploymentDetails() { FILE: src/frontend/genproto/demo.pb.go constant _ (line 32) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 34) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 37) | type CartItem struct method Reset (line 46) | func (x *CartItem) Reset() { method String (line 55) | func (x *CartItem) String() string { method ProtoMessage (line 59) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 61) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 74) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 78) | func (x *CartItem) GetProductId() string { method GetQuantity (line 85) | func (x *CartItem) GetQuantity() int32 { type AddItemRequest (line 92) | type AddItemRequest struct method Reset (line 101) | func (x *AddItemRequest) Reset() { method String (line 110) | func (x *AddItemRequest) String() string { method ProtoMessage (line 114) | func (*AddItemRequest) ProtoMessage() {} method ProtoReflect (line 116) | func (x *AddItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*AddItemRequest) Descriptor() ([]byte, []int) { method GetUserId (line 133) | func (x *AddItemRequest) GetUserId() string { method GetItem (line 140) | func (x *AddItemRequest) GetItem() *CartItem { type EmptyCartRequest (line 147) | type EmptyCartRequest struct method Reset (line 155) | func (x *EmptyCartRequest) Reset() { method String (line 164) | func (x *EmptyCartRequest) String() string { method ProtoMessage (line 168) | func (*EmptyCartRequest) ProtoMessage() {} method ProtoReflect (line 170) | func (x *EmptyCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 183) | func (*EmptyCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 187) | func (x *EmptyCartRequest) GetUserId() string { type GetCartRequest (line 194) | type GetCartRequest struct method Reset (line 202) | func (x *GetCartRequest) Reset() { method String (line 211) | func (x *GetCartRequest) String() string { method ProtoMessage (line 215) | func (*GetCartRequest) ProtoMessage() {} method ProtoReflect (line 217) | func (x *GetCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 230) | func (*GetCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 234) | func (x *GetCartRequest) GetUserId() string { type Cart (line 241) | type Cart struct method Reset (line 250) | func (x *Cart) Reset() { method String (line 259) | func (x *Cart) String() string { method ProtoMessage (line 263) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 265) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 278) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 282) | func (x *Cart) GetUserId() string { method GetItems (line 289) | func (x *Cart) GetItems() []*CartItem { type Empty (line 296) | type Empty struct method Reset (line 302) | func (x *Empty) Reset() { method String (line 311) | func (x *Empty) String() string { method ProtoMessage (line 315) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 317) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 330) | func (*Empty) Descriptor() ([]byte, []int) { type ListRecommendationsRequest (line 334) | type ListRecommendationsRequest struct method Reset (line 343) | func (x *ListRecommendationsRequest) Reset() { method String (line 352) | func (x *ListRecommendationsRequest) String() string { method ProtoMessage (line 356) | func (*ListRecommendationsRequest) ProtoMessage() {} method ProtoReflect (line 358) | func (x *ListRecommendationsRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 371) | func (*ListRecommendationsRequest) Descriptor() ([]byte, []int) { method GetUserId (line 375) | func (x *ListRecommendationsRequest) GetUserId() string { method GetProductIds (line 382) | func (x *ListRecommendationsRequest) GetProductIds() []string { type ListRecommendationsResponse (line 389) | type ListRecommendationsResponse struct method Reset (line 397) | func (x *ListRecommendationsResponse) Reset() { method String (line 406) | func (x *ListRecommendationsResponse) String() string { method ProtoMessage (line 410) | func (*ListRecommendationsResponse) ProtoMessage() {} method ProtoReflect (line 412) | func (x *ListRecommendationsResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 425) | func (*ListRecommendationsResponse) Descriptor() ([]byte, []int) { method GetProductIds (line 429) | func (x *ListRecommendationsResponse) GetProductIds() []string { type Product (line 436) | type Product struct method Reset (line 451) | func (x *Product) Reset() { method String (line 460) | func (x *Product) String() string { method ProtoMessage (line 464) | func (*Product) ProtoMessage() {} method ProtoReflect (line 466) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 479) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 483) | func (x *Product) GetId() string { method GetName (line 490) | func (x *Product) GetName() string { method GetDescription (line 497) | func (x *Product) GetDescription() string { method GetPicture (line 504) | func (x *Product) GetPicture() string { method GetPriceUsd (line 511) | func (x *Product) GetPriceUsd() *Money { method GetCategories (line 518) | func (x *Product) GetCategories() []string { type ListProductsResponse (line 525) | type ListProductsResponse struct method Reset (line 533) | func (x *ListProductsResponse) Reset() { method String (line 542) | func (x *ListProductsResponse) String() string { method ProtoMessage (line 546) | func (*ListProductsResponse) ProtoMessage() {} method ProtoReflect (line 548) | func (x *ListProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 561) | func (*ListProductsResponse) Descriptor() ([]byte, []int) { method GetProducts (line 565) | func (x *ListProductsResponse) GetProducts() []*Product { type GetProductRequest (line 572) | type GetProductRequest struct method Reset (line 580) | func (x *GetProductRequest) Reset() { method String (line 589) | func (x *GetProductRequest) String() string { method ProtoMessage (line 593) | func (*GetProductRequest) ProtoMessage() {} method ProtoReflect (line 595) | func (x *GetProductRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 608) | func (*GetProductRequest) Descriptor() ([]byte, []int) { method GetId (line 612) | func (x *GetProductRequest) GetId() string { type SearchProductsRequest (line 619) | type SearchProductsRequest struct method Reset (line 627) | func (x *SearchProductsRequest) Reset() { method String (line 636) | func (x *SearchProductsRequest) String() string { method ProtoMessage (line 640) | func (*SearchProductsRequest) ProtoMessage() {} method ProtoReflect (line 642) | func (x *SearchProductsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 655) | func (*SearchProductsRequest) Descriptor() ([]byte, []int) { method GetQuery (line 659) | func (x *SearchProductsRequest) GetQuery() string { type SearchProductsResponse (line 666) | type SearchProductsResponse struct method Reset (line 674) | func (x *SearchProductsResponse) Reset() { method String (line 683) | func (x *SearchProductsResponse) String() string { method ProtoMessage (line 687) | func (*SearchProductsResponse) ProtoMessage() {} method ProtoReflect (line 689) | func (x *SearchProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 702) | func (*SearchProductsResponse) Descriptor() ([]byte, []int) { method GetResults (line 706) | func (x *SearchProductsResponse) GetResults() []*Product { type GetQuoteRequest (line 713) | type GetQuoteRequest struct method Reset (line 722) | func (x *GetQuoteRequest) Reset() { method String (line 731) | func (x *GetQuoteRequest) String() string { method ProtoMessage (line 735) | func (*GetQuoteRequest) ProtoMessage() {} method ProtoReflect (line 737) | func (x *GetQuoteRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 750) | func (*GetQuoteRequest) Descriptor() ([]byte, []int) { method GetAddress (line 754) | func (x *GetQuoteRequest) GetAddress() *Address { method GetItems (line 761) | func (x *GetQuoteRequest) GetItems() []*CartItem { type GetQuoteResponse (line 768) | type GetQuoteResponse struct method Reset (line 776) | func (x *GetQuoteResponse) Reset() { method String (line 785) | func (x *GetQuoteResponse) String() string { method ProtoMessage (line 789) | func (*GetQuoteResponse) ProtoMessage() {} method ProtoReflect (line 791) | func (x *GetQuoteResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 804) | func (*GetQuoteResponse) Descriptor() ([]byte, []int) { method GetCostUsd (line 808) | func (x *GetQuoteResponse) GetCostUsd() *Money { type ShipOrderRequest (line 815) | type ShipOrderRequest struct method Reset (line 824) | func (x *ShipOrderRequest) Reset() { method String (line 833) | func (x *ShipOrderRequest) String() string { method ProtoMessage (line 837) | func (*ShipOrderRequest) ProtoMessage() {} method ProtoReflect (line 839) | func (x *ShipOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 852) | func (*ShipOrderRequest) Descriptor() ([]byte, []int) { method GetAddress (line 856) | func (x *ShipOrderRequest) GetAddress() *Address { method GetItems (line 863) | func (x *ShipOrderRequest) GetItems() []*CartItem { type ShipOrderResponse (line 870) | type ShipOrderResponse struct method Reset (line 878) | func (x *ShipOrderResponse) Reset() { method String (line 887) | func (x *ShipOrderResponse) String() string { method ProtoMessage (line 891) | func (*ShipOrderResponse) ProtoMessage() {} method ProtoReflect (line 893) | func (x *ShipOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 906) | func (*ShipOrderResponse) Descriptor() ([]byte, []int) { method GetTrackingId (line 910) | func (x *ShipOrderResponse) GetTrackingId() string { type Address (line 917) | type Address struct method Reset (line 929) | func (x *Address) Reset() { method String (line 938) | func (x *Address) String() string { method ProtoMessage (line 942) | func (*Address) ProtoMessage() {} method ProtoReflect (line 944) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 957) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 961) | func (x *Address) GetStreetAddress() string { method GetCity (line 968) | func (x *Address) GetCity() string { method GetState (line 975) | func (x *Address) GetState() string { method GetCountry (line 982) | func (x *Address) GetCountry() string { method GetZipCode (line 989) | func (x *Address) GetZipCode() int32 { type Money (line 997) | type Money struct method Reset (line 1016) | func (x *Money) Reset() { method String (line 1025) | func (x *Money) String() string { method ProtoMessage (line 1029) | func (*Money) ProtoMessage() {} method ProtoReflect (line 1031) | func (x *Money) ProtoReflect() protoreflect.Message { method Descriptor (line 1044) | func (*Money) Descriptor() ([]byte, []int) { method GetCurrencyCode (line 1048) | func (x *Money) GetCurrencyCode() string { method GetUnits (line 1055) | func (x *Money) GetUnits() int64 { method GetNanos (line 1062) | func (x *Money) GetNanos() int32 { type GetSupportedCurrenciesResponse (line 1069) | type GetSupportedCurrenciesResponse struct method Reset (line 1078) | func (x *GetSupportedCurrenciesResponse) Reset() { method String (line 1087) | func (x *GetSupportedCurrenciesResponse) String() string { method ProtoMessage (line 1091) | func (*GetSupportedCurrenciesResponse) ProtoMessage() {} method ProtoReflect (line 1093) | func (x *GetSupportedCurrenciesResponse) ProtoReflect() protoreflect.M... method Descriptor (line 1106) | func (*GetSupportedCurrenciesResponse) Descriptor() ([]byte, []int) { method GetCurrencyCodes (line 1110) | func (x *GetSupportedCurrenciesResponse) GetCurrencyCodes() []string { type CurrencyConversionRequest (line 1117) | type CurrencyConversionRequest struct method Reset (line 1127) | func (x *CurrencyConversionRequest) Reset() { method String (line 1136) | func (x *CurrencyConversionRequest) String() string { method ProtoMessage (line 1140) | func (*CurrencyConversionRequest) ProtoMessage() {} method ProtoReflect (line 1142) | func (x *CurrencyConversionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1155) | func (*CurrencyConversionRequest) Descriptor() ([]byte, []int) { method GetFrom (line 1159) | func (x *CurrencyConversionRequest) GetFrom() *Money { method GetToCode (line 1166) | func (x *CurrencyConversionRequest) GetToCode() string { type CreditCardInfo (line 1173) | type CreditCardInfo struct method Reset (line 1184) | func (x *CreditCardInfo) Reset() { method String (line 1193) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 1197) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 1199) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1212) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 1216) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 1223) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 1230) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 1237) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeRequest (line 1244) | type ChargeRequest struct method Reset (line 1253) | func (x *ChargeRequest) Reset() { method String (line 1262) | func (x *ChargeRequest) String() string { method ProtoMessage (line 1266) | func (*ChargeRequest) ProtoMessage() {} method ProtoReflect (line 1268) | func (x *ChargeRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1281) | func (*ChargeRequest) Descriptor() ([]byte, []int) { method GetAmount (line 1285) | func (x *ChargeRequest) GetAmount() *Money { method GetCreditCard (line 1292) | func (x *ChargeRequest) GetCreditCard() *CreditCardInfo { type ChargeResponse (line 1299) | type ChargeResponse struct method Reset (line 1307) | func (x *ChargeResponse) Reset() { method String (line 1316) | func (x *ChargeResponse) String() string { method ProtoMessage (line 1320) | func (*ChargeResponse) ProtoMessage() {} method ProtoReflect (line 1322) | func (x *ChargeResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1335) | func (*ChargeResponse) Descriptor() ([]byte, []int) { method GetTransactionId (line 1339) | func (x *ChargeResponse) GetTransactionId() string { type OrderItem (line 1346) | type OrderItem struct method Reset (line 1355) | func (x *OrderItem) Reset() { method String (line 1364) | func (x *OrderItem) String() string { method ProtoMessage (line 1368) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 1370) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 1383) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 1387) | func (x *OrderItem) GetItem() *CartItem { method GetCost (line 1394) | func (x *OrderItem) GetCost() *Money { type OrderResult (line 1401) | type OrderResult struct method Reset (line 1413) | func (x *OrderResult) Reset() { method String (line 1422) | func (x *OrderResult) String() string { method ProtoMessage (line 1426) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 1428) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 1441) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 1445) | func (x *OrderResult) GetOrderId() string { method GetShippingTrackingId (line 1452) | func (x *OrderResult) GetShippingTrackingId() string { method GetShippingCost (line 1459) | func (x *OrderResult) GetShippingCost() *Money { method GetShippingAddress (line 1466) | func (x *OrderResult) GetShippingAddress() *Address { method GetItems (line 1473) | func (x *OrderResult) GetItems() []*OrderItem { type SendOrderConfirmationRequest (line 1480) | type SendOrderConfirmationRequest struct method Reset (line 1489) | func (x *SendOrderConfirmationRequest) Reset() { method String (line 1498) | func (x *SendOrderConfirmationRequest) String() string { method ProtoMessage (line 1502) | func (*SendOrderConfirmationRequest) ProtoMessage() {} method ProtoReflect (line 1504) | func (x *SendOrderConfirmationRequest) ProtoReflect() protoreflect.Mes... method Descriptor (line 1517) | func (*SendOrderConfirmationRequest) Descriptor() ([]byte, []int) { method GetEmail (line 1521) | func (x *SendOrderConfirmationRequest) GetEmail() string { method GetOrder (line 1528) | func (x *SendOrderConfirmationRequest) GetOrder() *OrderResult { type PlaceOrderRequest (line 1535) | type PlaceOrderRequest struct method Reset (line 1547) | func (x *PlaceOrderRequest) Reset() { method String (line 1556) | func (x *PlaceOrderRequest) String() string { method ProtoMessage (line 1560) | func (*PlaceOrderRequest) ProtoMessage() {} method ProtoReflect (line 1562) | func (x *PlaceOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1575) | func (*PlaceOrderRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1579) | func (x *PlaceOrderRequest) GetUserId() string { method GetUserCurrency (line 1586) | func (x *PlaceOrderRequest) GetUserCurrency() string { method GetAddress (line 1593) | func (x *PlaceOrderRequest) GetAddress() *Address { method GetEmail (line 1600) | func (x *PlaceOrderRequest) GetEmail() string { method GetCreditCard (line 1607) | func (x *PlaceOrderRequest) GetCreditCard() *CreditCardInfo { type PlaceOrderResponse (line 1614) | type PlaceOrderResponse struct method Reset (line 1622) | func (x *PlaceOrderResponse) Reset() { method String (line 1631) | func (x *PlaceOrderResponse) String() string { method ProtoMessage (line 1635) | func (*PlaceOrderResponse) ProtoMessage() {} method ProtoReflect (line 1637) | func (x *PlaceOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1650) | func (*PlaceOrderResponse) Descriptor() ([]byte, []int) { method GetOrder (line 1654) | func (x *PlaceOrderResponse) GetOrder() *OrderResult { type AdRequest (line 1661) | type AdRequest struct method Reset (line 1670) | func (x *AdRequest) Reset() { method String (line 1679) | func (x *AdRequest) String() string { method ProtoMessage (line 1683) | func (*AdRequest) ProtoMessage() {} method ProtoReflect (line 1685) | func (x *AdRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1698) | func (*AdRequest) Descriptor() ([]byte, []int) { method GetContextKeys (line 1702) | func (x *AdRequest) GetContextKeys() []string { type AdResponse (line 1709) | type AdResponse struct method Reset (line 1717) | func (x *AdResponse) Reset() { method String (line 1726) | func (x *AdResponse) String() string { method ProtoMessage (line 1730) | func (*AdResponse) ProtoMessage() {} method ProtoReflect (line 1732) | func (x *AdResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1745) | func (*AdResponse) Descriptor() ([]byte, []int) { method GetAds (line 1749) | func (x *AdResponse) GetAds() []*Ad { type Ad (line 1756) | type Ad struct method Reset (line 1767) | func (x *Ad) Reset() { method String (line 1776) | func (x *Ad) String() string { method ProtoMessage (line 1780) | func (*Ad) ProtoMessage() {} method ProtoReflect (line 1782) | func (x *Ad) ProtoReflect() protoreflect.Message { method Descriptor (line 1795) | func (*Ad) Descriptor() ([]byte, []int) { method GetRedirectUrl (line 1799) | func (x *Ad) GetRedirectUrl() string { method GetText (line 1806) | func (x *Ad) GetText() string { function file_demo_proto_rawDescGZIP (line 2098) | func file_demo_proto_rawDescGZIP() []byte { function init (line 2201) | func init() { file_demo_proto_init() } function file_demo_proto_init (line 2202) | func file_demo_proto_init() { FILE: src/frontend/genproto/demo_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant CartService_AddItem_FullMethodName (line 36) | CartService_AddItem_FullMethodName = "/hipstershop.CartService/AddItem" constant CartService_GetCart_FullMethodName (line 37) | CartService_GetCart_FullMethodName = "/hipstershop.CartService/GetCart" constant CartService_EmptyCart_FullMethodName (line 38) | CartService_EmptyCart_FullMethodName = "/hipstershop.CartService/EmptyCart" type CartServiceClient (line 44) | type CartServiceClient interface type cartServiceClient (line 50) | type cartServiceClient struct method AddItem (line 58) | func (c *cartServiceClient) AddItem(ctx context.Context, in *AddItemRe... method GetCart (line 68) | func (c *cartServiceClient) GetCart(ctx context.Context, in *GetCartRe... method EmptyCart (line 78) | func (c *cartServiceClient) EmptyCart(ctx context.Context, in *EmptyCa... function NewCartServiceClient (line 54) | func NewCartServiceClient(cc grpc.ClientConnInterface) CartServiceClient { type CartServiceServer (line 91) | type CartServiceServer interface type UnimplementedCartServiceServer (line 103) | type UnimplementedCartServiceServer struct method AddItem (line 105) | func (UnimplementedCartServiceServer) AddItem(context.Context, *AddIte... method GetCart (line 108) | func (UnimplementedCartServiceServer) GetCart(context.Context, *GetCar... method EmptyCart (line 111) | func (UnimplementedCartServiceServer) EmptyCart(context.Context, *Empt... method mustEmbedUnimplementedCartServiceServer (line 114) | func (UnimplementedCartServiceServer) mustEmbedUnimplementedCartServic... method testEmbeddedByValue (line 115) | func (UnimplementedCartServiceServer) testEmbeddedByValue() ... type UnsafeCartServiceServer (line 120) | type UnsafeCartServiceServer interface function RegisterCartServiceServer (line 124) | func RegisterCartServiceServer(s grpc.ServiceRegistrar, srv CartServiceS... function _CartService_AddItem_Handler (line 135) | func _CartService_AddItem_Handler(srv interface{}, ctx context.Context, ... function _CartService_GetCart_Handler (line 153) | func _CartService_GetCart_Handler(srv interface{}, ctx context.Context, ... function _CartService_EmptyCart_Handler (line 171) | func _CartService_EmptyCart_Handler(srv interface{}, ctx context.Context... constant RecommendationService_ListRecommendations_FullMethodName (line 214) | RecommendationService_ListRecommendations_FullMethodName = "/hipstershop... type RecommendationServiceClient (line 220) | type RecommendationServiceClient interface type recommendationServiceClient (line 224) | type recommendationServiceClient struct method ListRecommendations (line 232) | func (c *recommendationServiceClient) ListRecommendations(ctx context.... function NewRecommendationServiceClient (line 228) | func NewRecommendationServiceClient(cc grpc.ClientConnInterface) Recomme... type RecommendationServiceServer (line 245) | type RecommendationServiceServer interface type UnimplementedRecommendationServiceServer (line 255) | type UnimplementedRecommendationServiceServer struct method ListRecommendations (line 257) | func (UnimplementedRecommendationServiceServer) ListRecommendations(co... method mustEmbedUnimplementedRecommendationServiceServer (line 260) | func (UnimplementedRecommendationServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 261) | func (UnimplementedRecommendationServiceServer) testEmbeddedByValue() ... type UnsafeRecommendationServiceServer (line 266) | type UnsafeRecommendationServiceServer interface function RegisterRecommendationServiceServer (line 270) | func RegisterRecommendationServiceServer(s grpc.ServiceRegistrar, srv Re... function _RecommendationService_ListRecommendations_Handler (line 281) | func _RecommendationService_ListRecommendations_Handler(srv interface{},... constant ProductCatalogService_ListProducts_FullMethodName (line 316) | ProductCatalogService_ListProducts_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_GetProduct_FullMethodName (line 317) | ProductCatalogService_GetProduct_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_SearchProducts_FullMethodName (line 318) | ProductCatalogService_SearchProducts_FullMethodName = "/hipstershop.Prod... type ProductCatalogServiceClient (line 324) | type ProductCatalogServiceClient interface type productCatalogServiceClient (line 330) | type productCatalogServiceClient struct method ListProducts (line 338) | func (c *productCatalogServiceClient) ListProducts(ctx context.Context... method GetProduct (line 348) | func (c *productCatalogServiceClient) GetProduct(ctx context.Context, ... method SearchProducts (line 358) | func (c *productCatalogServiceClient) SearchProducts(ctx context.Conte... function NewProductCatalogServiceClient (line 334) | func NewProductCatalogServiceClient(cc grpc.ClientConnInterface) Product... type ProductCatalogServiceServer (line 371) | type ProductCatalogServiceServer interface type UnimplementedProductCatalogServiceServer (line 383) | type UnimplementedProductCatalogServiceServer struct method ListProducts (line 385) | func (UnimplementedProductCatalogServiceServer) ListProducts(context.C... method GetProduct (line 388) | func (UnimplementedProductCatalogServiceServer) GetProduct(context.Con... method SearchProducts (line 391) | func (UnimplementedProductCatalogServiceServer) SearchProducts(context... method mustEmbedUnimplementedProductCatalogServiceServer (line 394) | func (UnimplementedProductCatalogServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 395) | func (UnimplementedProductCatalogServiceServer) testEmbeddedByValue() ... type UnsafeProductCatalogServiceServer (line 400) | type UnsafeProductCatalogServiceServer interface function RegisterProductCatalogServiceServer (line 404) | func RegisterProductCatalogServiceServer(s grpc.ServiceRegistrar, srv Pr... function _ProductCatalogService_ListProducts_Handler (line 415) | func _ProductCatalogService_ListProducts_Handler(srv interface{}, ctx co... function _ProductCatalogService_GetProduct_Handler (line 433) | func _ProductCatalogService_GetProduct_Handler(srv interface{}, ctx cont... function _ProductCatalogService_SearchProducts_Handler (line 451) | func _ProductCatalogService_SearchProducts_Handler(srv interface{}, ctx ... constant ShippingService_GetQuote_FullMethodName (line 494) | ShippingService_GetQuote_FullMethodName = "/hipstershop.ShippingService... constant ShippingService_ShipOrder_FullMethodName (line 495) | ShippingService_ShipOrder_FullMethodName = "/hipstershop.ShippingService... type ShippingServiceClient (line 501) | type ShippingServiceClient interface type shippingServiceClient (line 506) | type shippingServiceClient struct method GetQuote (line 514) | func (c *shippingServiceClient) GetQuote(ctx context.Context, in *GetQ... method ShipOrder (line 524) | func (c *shippingServiceClient) ShipOrder(ctx context.Context, in *Shi... function NewShippingServiceClient (line 510) | func NewShippingServiceClient(cc grpc.ClientConnInterface) ShippingServi... type ShippingServiceServer (line 537) | type ShippingServiceServer interface type UnimplementedShippingServiceServer (line 548) | type UnimplementedShippingServiceServer struct method GetQuote (line 550) | func (UnimplementedShippingServiceServer) GetQuote(context.Context, *G... method ShipOrder (line 553) | func (UnimplementedShippingServiceServer) ShipOrder(context.Context, *... method mustEmbedUnimplementedShippingServiceServer (line 556) | func (UnimplementedShippingServiceServer) mustEmbedUnimplementedShippi... method testEmbeddedByValue (line 557) | func (UnimplementedShippingServiceServer) testEmbeddedByValue() ... type UnsafeShippingServiceServer (line 562) | type UnsafeShippingServiceServer interface function RegisterShippingServiceServer (line 566) | func RegisterShippingServiceServer(s grpc.ServiceRegistrar, srv Shipping... function _ShippingService_GetQuote_Handler (line 577) | func _ShippingService_GetQuote_Handler(srv interface{}, ctx context.Cont... function _ShippingService_ShipOrder_Handler (line 595) | func _ShippingService_ShipOrder_Handler(srv interface{}, ctx context.Con... constant CurrencyService_GetSupportedCurrencies_FullMethodName (line 634) | CurrencyService_GetSupportedCurrencies_FullMethodName = "/hipstershop.Cu... constant CurrencyService_Convert_FullMethodName (line 635) | CurrencyService_Convert_FullMethodName = "/hipstershop.Cu... type CurrencyServiceClient (line 641) | type CurrencyServiceClient interface type currencyServiceClient (line 646) | type currencyServiceClient struct method GetSupportedCurrencies (line 654) | func (c *currencyServiceClient) GetSupportedCurrencies(ctx context.Con... method Convert (line 664) | func (c *currencyServiceClient) Convert(ctx context.Context, in *Curre... function NewCurrencyServiceClient (line 650) | func NewCurrencyServiceClient(cc grpc.ClientConnInterface) CurrencyServi... type CurrencyServiceServer (line 677) | type CurrencyServiceServer interface type UnimplementedCurrencyServiceServer (line 688) | type UnimplementedCurrencyServiceServer struct method GetSupportedCurrencies (line 690) | func (UnimplementedCurrencyServiceServer) GetSupportedCurrencies(conte... method Convert (line 693) | func (UnimplementedCurrencyServiceServer) Convert(context.Context, *Cu... method mustEmbedUnimplementedCurrencyServiceServer (line 696) | func (UnimplementedCurrencyServiceServer) mustEmbedUnimplementedCurren... method testEmbeddedByValue (line 697) | func (UnimplementedCurrencyServiceServer) testEmbeddedByValue() ... type UnsafeCurrencyServiceServer (line 702) | type UnsafeCurrencyServiceServer interface function RegisterCurrencyServiceServer (line 706) | func RegisterCurrencyServiceServer(s grpc.ServiceRegistrar, srv Currency... function _CurrencyService_GetSupportedCurrencies_Handler (line 717) | func _CurrencyService_GetSupportedCurrencies_Handler(srv interface{}, ct... function _CurrencyService_Convert_Handler (line 735) | func _CurrencyService_Convert_Handler(srv interface{}, ctx context.Conte... constant PaymentService_Charge_FullMethodName (line 774) | PaymentService_Charge_FullMethodName = "/hipstershop.PaymentService/Charge" type PaymentServiceClient (line 780) | type PaymentServiceClient interface type paymentServiceClient (line 784) | type paymentServiceClient struct method Charge (line 792) | func (c *paymentServiceClient) Charge(ctx context.Context, in *ChargeR... function NewPaymentServiceClient (line 788) | func NewPaymentServiceClient(cc grpc.ClientConnInterface) PaymentService... type PaymentServiceServer (line 805) | type PaymentServiceServer interface type UnimplementedPaymentServiceServer (line 815) | type UnimplementedPaymentServiceServer struct method Charge (line 817) | func (UnimplementedPaymentServiceServer) Charge(context.Context, *Char... method mustEmbedUnimplementedPaymentServiceServer (line 820) | func (UnimplementedPaymentServiceServer) mustEmbedUnimplementedPayment... method testEmbeddedByValue (line 821) | func (UnimplementedPaymentServiceServer) testEmbeddedByValue() ... type UnsafePaymentServiceServer (line 826) | type UnsafePaymentServiceServer interface function RegisterPaymentServiceServer (line 830) | func RegisterPaymentServiceServer(s grpc.ServiceRegistrar, srv PaymentSe... function _PaymentService_Charge_Handler (line 841) | func _PaymentService_Charge_Handler(srv interface{}, ctx context.Context... constant EmailService_SendOrderConfirmation_FullMethodName (line 876) | EmailService_SendOrderConfirmation_FullMethodName = "/hipstershop.EmailS... type EmailServiceClient (line 882) | type EmailServiceClient interface type emailServiceClient (line 886) | type emailServiceClient struct method SendOrderConfirmation (line 894) | func (c *emailServiceClient) SendOrderConfirmation(ctx context.Context... function NewEmailServiceClient (line 890) | func NewEmailServiceClient(cc grpc.ClientConnInterface) EmailServiceClie... type EmailServiceServer (line 907) | type EmailServiceServer interface type UnimplementedEmailServiceServer (line 917) | type UnimplementedEmailServiceServer struct method SendOrderConfirmation (line 919) | func (UnimplementedEmailServiceServer) SendOrderConfirmation(context.C... method mustEmbedUnimplementedEmailServiceServer (line 922) | func (UnimplementedEmailServiceServer) mustEmbedUnimplementedEmailServ... method testEmbeddedByValue (line 923) | func (UnimplementedEmailServiceServer) testEmbeddedByValue() ... type UnsafeEmailServiceServer (line 928) | type UnsafeEmailServiceServer interface function RegisterEmailServiceServer (line 932) | func RegisterEmailServiceServer(s grpc.ServiceRegistrar, srv EmailServic... function _EmailService_SendOrderConfirmation_Handler (line 943) | func _EmailService_SendOrderConfirmation_Handler(srv interface{}, ctx co... constant CheckoutService_PlaceOrder_FullMethodName (line 978) | CheckoutService_PlaceOrder_FullMethodName = "/hipstershop.CheckoutServic... type CheckoutServiceClient (line 984) | type CheckoutServiceClient interface type checkoutServiceClient (line 988) | type checkoutServiceClient struct method PlaceOrder (line 996) | func (c *checkoutServiceClient) PlaceOrder(ctx context.Context, in *Pl... function NewCheckoutServiceClient (line 992) | func NewCheckoutServiceClient(cc grpc.ClientConnInterface) CheckoutServi... type CheckoutServiceServer (line 1009) | type CheckoutServiceServer interface type UnimplementedCheckoutServiceServer (line 1019) | type UnimplementedCheckoutServiceServer struct method PlaceOrder (line 1021) | func (UnimplementedCheckoutServiceServer) PlaceOrder(context.Context, ... method mustEmbedUnimplementedCheckoutServiceServer (line 1024) | func (UnimplementedCheckoutServiceServer) mustEmbedUnimplementedChecko... method testEmbeddedByValue (line 1025) | func (UnimplementedCheckoutServiceServer) testEmbeddedByValue() ... type UnsafeCheckoutServiceServer (line 1030) | type UnsafeCheckoutServiceServer interface function RegisterCheckoutServiceServer (line 1034) | func RegisterCheckoutServiceServer(s grpc.ServiceRegistrar, srv Checkout... function _CheckoutService_PlaceOrder_Handler (line 1045) | func _CheckoutService_PlaceOrder_Handler(srv interface{}, ctx context.Co... constant AdService_GetAds_FullMethodName (line 1080) | AdService_GetAds_FullMethodName = "/hipstershop.AdService/GetAds" type AdServiceClient (line 1086) | type AdServiceClient interface type adServiceClient (line 1090) | type adServiceClient struct method GetAds (line 1098) | func (c *adServiceClient) GetAds(ctx context.Context, in *AdRequest, o... function NewAdServiceClient (line 1094) | func NewAdServiceClient(cc grpc.ClientConnInterface) AdServiceClient { type AdServiceServer (line 1111) | type AdServiceServer interface type UnimplementedAdServiceServer (line 1121) | type UnimplementedAdServiceServer struct method GetAds (line 1123) | func (UnimplementedAdServiceServer) GetAds(context.Context, *AdRequest... method mustEmbedUnimplementedAdServiceServer (line 1126) | func (UnimplementedAdServiceServer) mustEmbedUnimplementedAdServiceSer... method testEmbeddedByValue (line 1127) | func (UnimplementedAdServiceServer) testEmbeddedByValue() ... type UnsafeAdServiceServer (line 1132) | type UnsafeAdServiceServer interface function RegisterAdServiceServer (line 1136) | func RegisterAdServiceServer(s grpc.ServiceRegistrar, srv AdServiceServe... function _AdService_GetAds_Handler (line 1147) | func _AdService_GetAds_Handler(srv interface{}, ctx context.Context, dec... FILE: src/frontend/handlers.go type platformDetails (line 40) | type platformDetails struct method setPlatformDetails (line 122) | func (plat *platformDetails) setPlatformDetails(env string) { method homeHandler (line 59) | func (fe *frontendServer) homeHandler(w http.ResponseWriter, r *http.Req... method productHandler (line 144) | func (fe *frontendServer) productHandler(w http.ResponseWriter, r *http.... method addToCartHandler (line 211) | func (fe *frontendServer) addToCartHandler(w http.ResponseWriter, r *htt... method emptyCartHandler (line 239) | func (fe *frontendServer) emptyCartHandler(w http.ResponseWriter, r *htt... method viewCartHandler (line 251) | func (fe *frontendServer) viewCartHandler(w http.ResponseWriter, r *http... method placeOrderHandler (line 320) | func (fe *frontendServer) placeOrderHandler(w http.ResponseWriter, r *ht... method assistantHandler (line 403) | func (fe *frontendServer) assistantHandler(w http.ResponseWriter, r *htt... method logoutHandler (line 418) | func (fe *frontendServer) logoutHandler(w http.ResponseWriter, r *http.R... method getProductByID (line 430) | func (fe *frontendServer) getProductByID(w http.ResponseWriter, r *http.... method chatBotHandler (line 451) | func (fe *frontendServer) chatBotHandler(w http.ResponseWriter, r *http.... method setCurrencyHandler (line 499) | func (fe *frontendServer) setCurrencyHandler(w http.ResponseWriter, r *h... method chooseAd (line 527) | func (fe *frontendServer) chooseAd(ctx context.Context, ctxKeys []string... function renderHTTPError (line 536) | func renderHTTPError(log logrus.FieldLogger, r *http.Request, w http.Res... function injectCommonTemplateData (line 551) | func injectCommonTemplateData(r *http.Request, payload map[string]interf... function currentCurrency (line 573) | func currentCurrency(r *http.Request) string { function sessionID (line 581) | func sessionID(r *http.Request) string { function cartIDs (line 589) | func cartIDs(c []*pb.CartItem) []string { function cartSize (line 598) | func cartSize(c []*pb.CartItem) int { function renderMoney (line 606) | func renderMoney(money pb.Money) string { function renderCurrencyLogo (line 611) | func renderCurrencyLogo(currencyCode string) string { function stringinSlice (line 628) | func stringinSlice(slice []string, val string) bool { FILE: src/frontend/main.go constant port (line 39) | port = "8080" constant defaultCurrency (line 40) | defaultCurrency = "USD" constant cookieMaxAge (line 41) | cookieMaxAge = 60 * 60 * 48 constant cookiePrefix (line 43) | cookiePrefix = "shop_" constant cookieSessionID (line 44) | cookieSessionID = cookiePrefix + "session-id" constant cookieCurrency (line 45) | cookieCurrency = cookiePrefix + "currency" type ctxKeySessionID (line 61) | type ctxKeySessionID struct type frontendServer (line 63) | type frontendServer struct function main (line 91) | func main() { function initStats (line 173) | func initStats(log logrus.FieldLogger) { function initTracing (line 177) | func initTracing(log logrus.FieldLogger, ctx context.Context, svc *front... function initProfiling (line 194) | func initProfiling(log logrus.FieldLogger, service, version string) { function mustMapEnv (line 217) | func mustMapEnv(target *string, envKey string) { function mustConnGRPC (line 225) | func mustConnGRPC(ctx context.Context, conn **grpc.ClientConn, addr stri... FILE: src/frontend/middleware.go type ctxKeyLog (line 27) | type ctxKeyLog struct type ctxKeyRequestID (line 28) | type ctxKeyRequestID struct type logHandler (line 30) | type logHandler struct method ServeHTTP (line 57) | func (lh *logHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { type responseRecorder (line 35) | type responseRecorder struct method Header (line 41) | func (r *responseRecorder) Header() http.Header { return r.w.Header() } method Write (line 43) | func (r *responseRecorder) Write(p []byte) (int, error) { method WriteHeader (line 52) | func (r *responseRecorder) WriteHeader(statusCode int) { function ensureSessionID (line 85) | func ensureSessionID(next http.Handler) http.HandlerFunc { FILE: src/frontend/money/money.go constant nanosMin (line 24) | nanosMin = -999999999 constant nanosMax (line 25) | nanosMax = +999999999 constant nanosMod (line 26) | nanosMod = 1000000000 function IsValid (line 35) | func IsValid(m pb.Money) bool { function signMatches (line 39) | func signMatches(m pb.Money) bool { function validNanos (line 43) | func validNanos(nanos int32) bool { return nanosMin <= nanos && nanos <=... function IsZero (line 46) | func IsZero(m pb.Money) bool { return m.GetUnits() == 0 && m.GetNanos() ... function IsPositive (line 50) | func IsPositive(m pb.Money) bool { function IsNegative (line 56) | func IsNegative(m pb.Money) bool { function AreSameCurrency (line 62) | func AreSameCurrency(l, r pb.Money) bool { function AreEquals (line 68) | func AreEquals(l, r pb.Money) bool { function Negate (line 74) | func Negate(m pb.Money) pb.Money { function Must (line 83) | func Must(v pb.Money, err error) pb.Money { function Sum (line 93) | func Sum(l, r pb.Money) (pb.Money, error) { function MultiplySlow (line 125) | func MultiplySlow(m pb.Money, n uint32) pb.Money { FILE: src/frontend/money/money_test.go function mmc (line 25) | func mmc(u int64, n int32, c string) pb.Money { return pb.Money{Units: u... function mm (line 26) | func mm(u int64, n int32) pb.Money { return mmc(u, n, "") } function TestIsValid (line 28) | func TestIsValid(t *testing.T) { function TestIsZero (line 52) | func TestIsZero(t *testing.T) { function TestIsPositive (line 73) | func TestIsPositive(t *testing.T) { function TestIsNegative (line 94) | func TestIsNegative(t *testing.T) { function TestAreSameCurrency (line 115) | func TestAreSameCurrency(t *testing.T) { function TestAreEquals (line 140) | func TestAreEquals(t *testing.T) { function TestNegate (line 165) | func TestNegate(t *testing.T) { function TestMust_pass (line 185) | func TestMust_pass(t *testing.T) { function TestMust_panic (line 192) | func TestMust_panic(t *testing.T) { function TestSum (line 202) | func TestSum(t *testing.T) { FILE: src/frontend/packaging_info.go type PackagingInfo (line 34) | type PackagingInfo struct function init (line 42) | func init() { function isPackagingServiceConfigured (line 46) | func isPackagingServiceConfigured() bool { function httpGetPackagingInfo (line 50) | func httpGetPackagingInfo(productId string) (*PackagingInfo, error) { FILE: src/frontend/rpc.go constant avoidNoopCurrencyConversionRPC (line 27) | avoidNoopCurrencyConversionRPC = false method getCurrencies (line 30) | func (fe *frontendServer) getCurrencies(ctx context.Context) ([]string, ... method getProducts (line 45) | func (fe *frontendServer) getProducts(ctx context.Context) ([]*pb.Produc... method getProduct (line 51) | func (fe *frontendServer) getProduct(ctx context.Context, id string) (*p... method getCart (line 57) | func (fe *frontendServer) getCart(ctx context.Context, userID string) ([... method emptyCart (line 62) | func (fe *frontendServer) emptyCart(ctx context.Context, userID string) ... method insertCart (line 67) | func (fe *frontendServer) insertCart(ctx context.Context, userID, produc... method convertCurrency (line 77) | func (fe *frontendServer) convertCurrency(ctx context.Context, money *pb... method getShippingQuote (line 87) | func (fe *frontendServer) getShippingQuote(ctx context.Context, items []... method getRecommendations (line 99) | func (fe *frontendServer) getRecommendations(ctx context.Context, userID... method getAd (line 119) | func (fe *frontendServer) getAd(ctx context.Context, ctxKeys []string) (... FILE: src/frontend/validator/validator.go function init (line 29) | func init() { type Payload (line 33) | type Payload interface type AddToCartPayload (line 37) | type AddToCartPayload struct method Validate (line 60) | func (ad *AddToCartPayload) Validate() error { type PlaceOrderPayload (line 42) | type PlaceOrderPayload struct method Validate (line 64) | func (po *PlaceOrderPayload) Validate() error { type SetCurrencyPayload (line 55) | type SetCurrencyPayload struct method Validate (line 68) | func (sc *SetCurrencyPayload) Validate() error { function ValidationErrorResponse (line 73) | func ValidationErrorResponse(err error) error { FILE: src/frontend/validator/validator_test.go function TestPlaceOrderPassesValidation (line 22) | func TestPlaceOrderPassesValidation(t *testing.T) { function TestPlaceOrderFailsValidation (line 59) | func TestPlaceOrderFailsValidation(t *testing.T) { function TestAddToCartPassesValidation (line 106) | func TestAddToCartPassesValidation(t *testing.T) { function TestAddToCartFailsValidation (line 125) | func TestAddToCartFailsValidation(t *testing.T) { function TestSetCurrencyPassesValidation (line 146) | func TestSetCurrencyPassesValidation(t *testing.T) { function TestSetCurrencyFailsValidation (line 168) | func TestSetCurrencyFailsValidation(t *testing.T) { FILE: src/loadgenerator/locustfile.py function index (line 34) | def index(l): function setCurrency (line 37) | def setCurrency(l): function browseProduct (line 42) | def browseProduct(l): function viewCart (line 45) | def viewCart(l): function addToCart (line 48) | def addToCart(l): function empty_cart (line 55) | def empty_cart(l): function checkout (line 58) | def checkout(l): function logout (line 74) | def logout(l): class UserBehavior (line 78) | class UserBehavior(TaskSet): method on_start (line 80) | def on_start(self): class WebsiteUser (line 90) | class WebsiteUser(FastHttpUser): FILE: src/paymentservice/charge.js method level (line 23) | level (logLevelString, logLevelNum) { class CreditCardError (line 30) | class CreditCardError extends Error { method constructor (line 31) | constructor (message) { class InvalidCreditCard (line 37) | class InvalidCreditCard extends CreditCardError { method constructor (line 38) | constructor (cardType) { class UnacceptedCreditCard (line 43) | class UnacceptedCreditCard extends CreditCardError { method constructor (line 44) | constructor (cardType) { class ExpiredCreditCard (line 49) | class ExpiredCreditCard extends CreditCardError { method constructor (line 50) | constructor (number, month, year) { FILE: src/paymentservice/index.js constant PORT (line 70) | const PORT = process.env['PORT']; constant PROTO_PATH (line 71) | const PROTO_PATH = path.join(__dirname, '/proto/'); FILE: src/paymentservice/logger.js method level (line 23) | level (logLevelString, logLevelNum) { FILE: src/paymentservice/server.js class HipsterShopServer (line 23) | class HipsterShopServer { method constructor (line 24) | constructor(protoRoot, port = HipsterShopServer.PORT) { method ChargeServiceHandler (line 41) | static ChargeServiceHandler(call, callback) { method CheckHandler (line 52) | static CheckHandler(call, callback) { method listen (line 57) | listen() { method loadProto (line 70) | loadProto(path) { method loadAllProtos (line 84) | loadAllProtos(protoRoot) { FILE: src/productcatalogservice/catalog_loader.go function loadCatalog (line 33) | func loadCatalog(catalog *pb.ListProductsResponse) error { function loadCatalogFromLocalFile (line 44) | func loadCatalogFromLocalFile(catalog *pb.ListProductsResponse) error { function getSecretPayload (line 62) | func getSecretPayload(project, secret, version string) (string, error) { function loadCatalogFromAlloyDB (line 85) | func loadCatalogFromAlloyDB(catalog *pb.ListProductsResponse) error { FILE: src/productcatalogservice/genproto/demo.pb.go constant _ (line 32) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 34) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 37) | type CartItem struct method Reset (line 46) | func (x *CartItem) Reset() { method String (line 55) | func (x *CartItem) String() string { method ProtoMessage (line 59) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 61) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 74) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 78) | func (x *CartItem) GetProductId() string { method GetQuantity (line 85) | func (x *CartItem) GetQuantity() int32 { type AddItemRequest (line 92) | type AddItemRequest struct method Reset (line 101) | func (x *AddItemRequest) Reset() { method String (line 110) | func (x *AddItemRequest) String() string { method ProtoMessage (line 114) | func (*AddItemRequest) ProtoMessage() {} method ProtoReflect (line 116) | func (x *AddItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*AddItemRequest) Descriptor() ([]byte, []int) { method GetUserId (line 133) | func (x *AddItemRequest) GetUserId() string { method GetItem (line 140) | func (x *AddItemRequest) GetItem() *CartItem { type EmptyCartRequest (line 147) | type EmptyCartRequest struct method Reset (line 155) | func (x *EmptyCartRequest) Reset() { method String (line 164) | func (x *EmptyCartRequest) String() string { method ProtoMessage (line 168) | func (*EmptyCartRequest) ProtoMessage() {} method ProtoReflect (line 170) | func (x *EmptyCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 183) | func (*EmptyCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 187) | func (x *EmptyCartRequest) GetUserId() string { type GetCartRequest (line 194) | type GetCartRequest struct method Reset (line 202) | func (x *GetCartRequest) Reset() { method String (line 211) | func (x *GetCartRequest) String() string { method ProtoMessage (line 215) | func (*GetCartRequest) ProtoMessage() {} method ProtoReflect (line 217) | func (x *GetCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 230) | func (*GetCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 234) | func (x *GetCartRequest) GetUserId() string { type Cart (line 241) | type Cart struct method Reset (line 250) | func (x *Cart) Reset() { method String (line 259) | func (x *Cart) String() string { method ProtoMessage (line 263) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 265) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 278) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 282) | func (x *Cart) GetUserId() string { method GetItems (line 289) | func (x *Cart) GetItems() []*CartItem { type Empty (line 296) | type Empty struct method Reset (line 302) | func (x *Empty) Reset() { method String (line 311) | func (x *Empty) String() string { method ProtoMessage (line 315) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 317) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 330) | func (*Empty) Descriptor() ([]byte, []int) { type ListRecommendationsRequest (line 334) | type ListRecommendationsRequest struct method Reset (line 343) | func (x *ListRecommendationsRequest) Reset() { method String (line 352) | func (x *ListRecommendationsRequest) String() string { method ProtoMessage (line 356) | func (*ListRecommendationsRequest) ProtoMessage() {} method ProtoReflect (line 358) | func (x *ListRecommendationsRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 371) | func (*ListRecommendationsRequest) Descriptor() ([]byte, []int) { method GetUserId (line 375) | func (x *ListRecommendationsRequest) GetUserId() string { method GetProductIds (line 382) | func (x *ListRecommendationsRequest) GetProductIds() []string { type ListRecommendationsResponse (line 389) | type ListRecommendationsResponse struct method Reset (line 397) | func (x *ListRecommendationsResponse) Reset() { method String (line 406) | func (x *ListRecommendationsResponse) String() string { method ProtoMessage (line 410) | func (*ListRecommendationsResponse) ProtoMessage() {} method ProtoReflect (line 412) | func (x *ListRecommendationsResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 425) | func (*ListRecommendationsResponse) Descriptor() ([]byte, []int) { method GetProductIds (line 429) | func (x *ListRecommendationsResponse) GetProductIds() []string { type Product (line 436) | type Product struct method Reset (line 451) | func (x *Product) Reset() { method String (line 460) | func (x *Product) String() string { method ProtoMessage (line 464) | func (*Product) ProtoMessage() {} method ProtoReflect (line 466) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 479) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 483) | func (x *Product) GetId() string { method GetName (line 490) | func (x *Product) GetName() string { method GetDescription (line 497) | func (x *Product) GetDescription() string { method GetPicture (line 504) | func (x *Product) GetPicture() string { method GetPriceUsd (line 511) | func (x *Product) GetPriceUsd() *Money { method GetCategories (line 518) | func (x *Product) GetCategories() []string { type ListProductsResponse (line 525) | type ListProductsResponse struct method Reset (line 533) | func (x *ListProductsResponse) Reset() { method String (line 542) | func (x *ListProductsResponse) String() string { method ProtoMessage (line 546) | func (*ListProductsResponse) ProtoMessage() {} method ProtoReflect (line 548) | func (x *ListProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 561) | func (*ListProductsResponse) Descriptor() ([]byte, []int) { method GetProducts (line 565) | func (x *ListProductsResponse) GetProducts() []*Product { type GetProductRequest (line 572) | type GetProductRequest struct method Reset (line 580) | func (x *GetProductRequest) Reset() { method String (line 589) | func (x *GetProductRequest) String() string { method ProtoMessage (line 593) | func (*GetProductRequest) ProtoMessage() {} method ProtoReflect (line 595) | func (x *GetProductRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 608) | func (*GetProductRequest) Descriptor() ([]byte, []int) { method GetId (line 612) | func (x *GetProductRequest) GetId() string { type SearchProductsRequest (line 619) | type SearchProductsRequest struct method Reset (line 627) | func (x *SearchProductsRequest) Reset() { method String (line 636) | func (x *SearchProductsRequest) String() string { method ProtoMessage (line 640) | func (*SearchProductsRequest) ProtoMessage() {} method ProtoReflect (line 642) | func (x *SearchProductsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 655) | func (*SearchProductsRequest) Descriptor() ([]byte, []int) { method GetQuery (line 659) | func (x *SearchProductsRequest) GetQuery() string { type SearchProductsResponse (line 666) | type SearchProductsResponse struct method Reset (line 674) | func (x *SearchProductsResponse) Reset() { method String (line 683) | func (x *SearchProductsResponse) String() string { method ProtoMessage (line 687) | func (*SearchProductsResponse) ProtoMessage() {} method ProtoReflect (line 689) | func (x *SearchProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 702) | func (*SearchProductsResponse) Descriptor() ([]byte, []int) { method GetResults (line 706) | func (x *SearchProductsResponse) GetResults() []*Product { type GetQuoteRequest (line 713) | type GetQuoteRequest struct method Reset (line 722) | func (x *GetQuoteRequest) Reset() { method String (line 731) | func (x *GetQuoteRequest) String() string { method ProtoMessage (line 735) | func (*GetQuoteRequest) ProtoMessage() {} method ProtoReflect (line 737) | func (x *GetQuoteRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 750) | func (*GetQuoteRequest) Descriptor() ([]byte, []int) { method GetAddress (line 754) | func (x *GetQuoteRequest) GetAddress() *Address { method GetItems (line 761) | func (x *GetQuoteRequest) GetItems() []*CartItem { type GetQuoteResponse (line 768) | type GetQuoteResponse struct method Reset (line 776) | func (x *GetQuoteResponse) Reset() { method String (line 785) | func (x *GetQuoteResponse) String() string { method ProtoMessage (line 789) | func (*GetQuoteResponse) ProtoMessage() {} method ProtoReflect (line 791) | func (x *GetQuoteResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 804) | func (*GetQuoteResponse) Descriptor() ([]byte, []int) { method GetCostUsd (line 808) | func (x *GetQuoteResponse) GetCostUsd() *Money { type ShipOrderRequest (line 815) | type ShipOrderRequest struct method Reset (line 824) | func (x *ShipOrderRequest) Reset() { method String (line 833) | func (x *ShipOrderRequest) String() string { method ProtoMessage (line 837) | func (*ShipOrderRequest) ProtoMessage() {} method ProtoReflect (line 839) | func (x *ShipOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 852) | func (*ShipOrderRequest) Descriptor() ([]byte, []int) { method GetAddress (line 856) | func (x *ShipOrderRequest) GetAddress() *Address { method GetItems (line 863) | func (x *ShipOrderRequest) GetItems() []*CartItem { type ShipOrderResponse (line 870) | type ShipOrderResponse struct method Reset (line 878) | func (x *ShipOrderResponse) Reset() { method String (line 887) | func (x *ShipOrderResponse) String() string { method ProtoMessage (line 891) | func (*ShipOrderResponse) ProtoMessage() {} method ProtoReflect (line 893) | func (x *ShipOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 906) | func (*ShipOrderResponse) Descriptor() ([]byte, []int) { method GetTrackingId (line 910) | func (x *ShipOrderResponse) GetTrackingId() string { type Address (line 917) | type Address struct method Reset (line 929) | func (x *Address) Reset() { method String (line 938) | func (x *Address) String() string { method ProtoMessage (line 942) | func (*Address) ProtoMessage() {} method ProtoReflect (line 944) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 957) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 961) | func (x *Address) GetStreetAddress() string { method GetCity (line 968) | func (x *Address) GetCity() string { method GetState (line 975) | func (x *Address) GetState() string { method GetCountry (line 982) | func (x *Address) GetCountry() string { method GetZipCode (line 989) | func (x *Address) GetZipCode() int32 { type Money (line 997) | type Money struct method Reset (line 1016) | func (x *Money) Reset() { method String (line 1025) | func (x *Money) String() string { method ProtoMessage (line 1029) | func (*Money) ProtoMessage() {} method ProtoReflect (line 1031) | func (x *Money) ProtoReflect() protoreflect.Message { method Descriptor (line 1044) | func (*Money) Descriptor() ([]byte, []int) { method GetCurrencyCode (line 1048) | func (x *Money) GetCurrencyCode() string { method GetUnits (line 1055) | func (x *Money) GetUnits() int64 { method GetNanos (line 1062) | func (x *Money) GetNanos() int32 { type GetSupportedCurrenciesResponse (line 1069) | type GetSupportedCurrenciesResponse struct method Reset (line 1078) | func (x *GetSupportedCurrenciesResponse) Reset() { method String (line 1087) | func (x *GetSupportedCurrenciesResponse) String() string { method ProtoMessage (line 1091) | func (*GetSupportedCurrenciesResponse) ProtoMessage() {} method ProtoReflect (line 1093) | func (x *GetSupportedCurrenciesResponse) ProtoReflect() protoreflect.M... method Descriptor (line 1106) | func (*GetSupportedCurrenciesResponse) Descriptor() ([]byte, []int) { method GetCurrencyCodes (line 1110) | func (x *GetSupportedCurrenciesResponse) GetCurrencyCodes() []string { type CurrencyConversionRequest (line 1117) | type CurrencyConversionRequest struct method Reset (line 1127) | func (x *CurrencyConversionRequest) Reset() { method String (line 1136) | func (x *CurrencyConversionRequest) String() string { method ProtoMessage (line 1140) | func (*CurrencyConversionRequest) ProtoMessage() {} method ProtoReflect (line 1142) | func (x *CurrencyConversionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1155) | func (*CurrencyConversionRequest) Descriptor() ([]byte, []int) { method GetFrom (line 1159) | func (x *CurrencyConversionRequest) GetFrom() *Money { method GetToCode (line 1166) | func (x *CurrencyConversionRequest) GetToCode() string { type CreditCardInfo (line 1173) | type CreditCardInfo struct method Reset (line 1184) | func (x *CreditCardInfo) Reset() { method String (line 1193) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 1197) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 1199) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1212) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 1216) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 1223) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 1230) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 1237) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeRequest (line 1244) | type ChargeRequest struct method Reset (line 1253) | func (x *ChargeRequest) Reset() { method String (line 1262) | func (x *ChargeRequest) String() string { method ProtoMessage (line 1266) | func (*ChargeRequest) ProtoMessage() {} method ProtoReflect (line 1268) | func (x *ChargeRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1281) | func (*ChargeRequest) Descriptor() ([]byte, []int) { method GetAmount (line 1285) | func (x *ChargeRequest) GetAmount() *Money { method GetCreditCard (line 1292) | func (x *ChargeRequest) GetCreditCard() *CreditCardInfo { type ChargeResponse (line 1299) | type ChargeResponse struct method Reset (line 1307) | func (x *ChargeResponse) Reset() { method String (line 1316) | func (x *ChargeResponse) String() string { method ProtoMessage (line 1320) | func (*ChargeResponse) ProtoMessage() {} method ProtoReflect (line 1322) | func (x *ChargeResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1335) | func (*ChargeResponse) Descriptor() ([]byte, []int) { method GetTransactionId (line 1339) | func (x *ChargeResponse) GetTransactionId() string { type OrderItem (line 1346) | type OrderItem struct method Reset (line 1355) | func (x *OrderItem) Reset() { method String (line 1364) | func (x *OrderItem) String() string { method ProtoMessage (line 1368) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 1370) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 1383) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 1387) | func (x *OrderItem) GetItem() *CartItem { method GetCost (line 1394) | func (x *OrderItem) GetCost() *Money { type OrderResult (line 1401) | type OrderResult struct method Reset (line 1413) | func (x *OrderResult) Reset() { method String (line 1422) | func (x *OrderResult) String() string { method ProtoMessage (line 1426) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 1428) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 1441) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 1445) | func (x *OrderResult) GetOrderId() string { method GetShippingTrackingId (line 1452) | func (x *OrderResult) GetShippingTrackingId() string { method GetShippingCost (line 1459) | func (x *OrderResult) GetShippingCost() *Money { method GetShippingAddress (line 1466) | func (x *OrderResult) GetShippingAddress() *Address { method GetItems (line 1473) | func (x *OrderResult) GetItems() []*OrderItem { type SendOrderConfirmationRequest (line 1480) | type SendOrderConfirmationRequest struct method Reset (line 1489) | func (x *SendOrderConfirmationRequest) Reset() { method String (line 1498) | func (x *SendOrderConfirmationRequest) String() string { method ProtoMessage (line 1502) | func (*SendOrderConfirmationRequest) ProtoMessage() {} method ProtoReflect (line 1504) | func (x *SendOrderConfirmationRequest) ProtoReflect() protoreflect.Mes... method Descriptor (line 1517) | func (*SendOrderConfirmationRequest) Descriptor() ([]byte, []int) { method GetEmail (line 1521) | func (x *SendOrderConfirmationRequest) GetEmail() string { method GetOrder (line 1528) | func (x *SendOrderConfirmationRequest) GetOrder() *OrderResult { type PlaceOrderRequest (line 1535) | type PlaceOrderRequest struct method Reset (line 1547) | func (x *PlaceOrderRequest) Reset() { method String (line 1556) | func (x *PlaceOrderRequest) String() string { method ProtoMessage (line 1560) | func (*PlaceOrderRequest) ProtoMessage() {} method ProtoReflect (line 1562) | func (x *PlaceOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1575) | func (*PlaceOrderRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1579) | func (x *PlaceOrderRequest) GetUserId() string { method GetUserCurrency (line 1586) | func (x *PlaceOrderRequest) GetUserCurrency() string { method GetAddress (line 1593) | func (x *PlaceOrderRequest) GetAddress() *Address { method GetEmail (line 1600) | func (x *PlaceOrderRequest) GetEmail() string { method GetCreditCard (line 1607) | func (x *PlaceOrderRequest) GetCreditCard() *CreditCardInfo { type PlaceOrderResponse (line 1614) | type PlaceOrderResponse struct method Reset (line 1622) | func (x *PlaceOrderResponse) Reset() { method String (line 1631) | func (x *PlaceOrderResponse) String() string { method ProtoMessage (line 1635) | func (*PlaceOrderResponse) ProtoMessage() {} method ProtoReflect (line 1637) | func (x *PlaceOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1650) | func (*PlaceOrderResponse) Descriptor() ([]byte, []int) { method GetOrder (line 1654) | func (x *PlaceOrderResponse) GetOrder() *OrderResult { type AdRequest (line 1661) | type AdRequest struct method Reset (line 1670) | func (x *AdRequest) Reset() { method String (line 1679) | func (x *AdRequest) String() string { method ProtoMessage (line 1683) | func (*AdRequest) ProtoMessage() {} method ProtoReflect (line 1685) | func (x *AdRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1698) | func (*AdRequest) Descriptor() ([]byte, []int) { method GetContextKeys (line 1702) | func (x *AdRequest) GetContextKeys() []string { type AdResponse (line 1709) | type AdResponse struct method Reset (line 1717) | func (x *AdResponse) Reset() { method String (line 1726) | func (x *AdResponse) String() string { method ProtoMessage (line 1730) | func (*AdResponse) ProtoMessage() {} method ProtoReflect (line 1732) | func (x *AdResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1745) | func (*AdResponse) Descriptor() ([]byte, []int) { method GetAds (line 1749) | func (x *AdResponse) GetAds() []*Ad { type Ad (line 1756) | type Ad struct method Reset (line 1767) | func (x *Ad) Reset() { method String (line 1776) | func (x *Ad) String() string { method ProtoMessage (line 1780) | func (*Ad) ProtoMessage() {} method ProtoReflect (line 1782) | func (x *Ad) ProtoReflect() protoreflect.Message { method Descriptor (line 1795) | func (*Ad) Descriptor() ([]byte, []int) { method GetRedirectUrl (line 1799) | func (x *Ad) GetRedirectUrl() string { method GetText (line 1806) | func (x *Ad) GetText() string { function file_demo_proto_rawDescGZIP (line 2098) | func file_demo_proto_rawDescGZIP() []byte { function init (line 2201) | func init() { file_demo_proto_init() } function file_demo_proto_init (line 2202) | func file_demo_proto_init() { FILE: src/productcatalogservice/genproto/demo_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant CartService_AddItem_FullMethodName (line 36) | CartService_AddItem_FullMethodName = "/hipstershop.CartService/AddItem" constant CartService_GetCart_FullMethodName (line 37) | CartService_GetCart_FullMethodName = "/hipstershop.CartService/GetCart" constant CartService_EmptyCart_FullMethodName (line 38) | CartService_EmptyCart_FullMethodName = "/hipstershop.CartService/EmptyCart" type CartServiceClient (line 44) | type CartServiceClient interface type cartServiceClient (line 50) | type cartServiceClient struct method AddItem (line 58) | func (c *cartServiceClient) AddItem(ctx context.Context, in *AddItemRe... method GetCart (line 68) | func (c *cartServiceClient) GetCart(ctx context.Context, in *GetCartRe... method EmptyCart (line 78) | func (c *cartServiceClient) EmptyCart(ctx context.Context, in *EmptyCa... function NewCartServiceClient (line 54) | func NewCartServiceClient(cc grpc.ClientConnInterface) CartServiceClient { type CartServiceServer (line 91) | type CartServiceServer interface type UnimplementedCartServiceServer (line 103) | type UnimplementedCartServiceServer struct method AddItem (line 105) | func (UnimplementedCartServiceServer) AddItem(context.Context, *AddIte... method GetCart (line 108) | func (UnimplementedCartServiceServer) GetCart(context.Context, *GetCar... method EmptyCart (line 111) | func (UnimplementedCartServiceServer) EmptyCart(context.Context, *Empt... method mustEmbedUnimplementedCartServiceServer (line 114) | func (UnimplementedCartServiceServer) mustEmbedUnimplementedCartServic... method testEmbeddedByValue (line 115) | func (UnimplementedCartServiceServer) testEmbeddedByValue() ... type UnsafeCartServiceServer (line 120) | type UnsafeCartServiceServer interface function RegisterCartServiceServer (line 124) | func RegisterCartServiceServer(s grpc.ServiceRegistrar, srv CartServiceS... function _CartService_AddItem_Handler (line 135) | func _CartService_AddItem_Handler(srv interface{}, ctx context.Context, ... function _CartService_GetCart_Handler (line 153) | func _CartService_GetCart_Handler(srv interface{}, ctx context.Context, ... function _CartService_EmptyCart_Handler (line 171) | func _CartService_EmptyCart_Handler(srv interface{}, ctx context.Context... constant RecommendationService_ListRecommendations_FullMethodName (line 214) | RecommendationService_ListRecommendations_FullMethodName = "/hipstershop... type RecommendationServiceClient (line 220) | type RecommendationServiceClient interface type recommendationServiceClient (line 224) | type recommendationServiceClient struct method ListRecommendations (line 232) | func (c *recommendationServiceClient) ListRecommendations(ctx context.... function NewRecommendationServiceClient (line 228) | func NewRecommendationServiceClient(cc grpc.ClientConnInterface) Recomme... type RecommendationServiceServer (line 245) | type RecommendationServiceServer interface type UnimplementedRecommendationServiceServer (line 255) | type UnimplementedRecommendationServiceServer struct method ListRecommendations (line 257) | func (UnimplementedRecommendationServiceServer) ListRecommendations(co... method mustEmbedUnimplementedRecommendationServiceServer (line 260) | func (UnimplementedRecommendationServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 261) | func (UnimplementedRecommendationServiceServer) testEmbeddedByValue() ... type UnsafeRecommendationServiceServer (line 266) | type UnsafeRecommendationServiceServer interface function RegisterRecommendationServiceServer (line 270) | func RegisterRecommendationServiceServer(s grpc.ServiceRegistrar, srv Re... function _RecommendationService_ListRecommendations_Handler (line 281) | func _RecommendationService_ListRecommendations_Handler(srv interface{},... constant ProductCatalogService_ListProducts_FullMethodName (line 316) | ProductCatalogService_ListProducts_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_GetProduct_FullMethodName (line 317) | ProductCatalogService_GetProduct_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_SearchProducts_FullMethodName (line 318) | ProductCatalogService_SearchProducts_FullMethodName = "/hipstershop.Prod... type ProductCatalogServiceClient (line 324) | type ProductCatalogServiceClient interface type productCatalogServiceClient (line 330) | type productCatalogServiceClient struct method ListProducts (line 338) | func (c *productCatalogServiceClient) ListProducts(ctx context.Context... method GetProduct (line 348) | func (c *productCatalogServiceClient) GetProduct(ctx context.Context, ... method SearchProducts (line 358) | func (c *productCatalogServiceClient) SearchProducts(ctx context.Conte... function NewProductCatalogServiceClient (line 334) | func NewProductCatalogServiceClient(cc grpc.ClientConnInterface) Product... type ProductCatalogServiceServer (line 371) | type ProductCatalogServiceServer interface type UnimplementedProductCatalogServiceServer (line 383) | type UnimplementedProductCatalogServiceServer struct method ListProducts (line 385) | func (UnimplementedProductCatalogServiceServer) ListProducts(context.C... method GetProduct (line 388) | func (UnimplementedProductCatalogServiceServer) GetProduct(context.Con... method SearchProducts (line 391) | func (UnimplementedProductCatalogServiceServer) SearchProducts(context... method mustEmbedUnimplementedProductCatalogServiceServer (line 394) | func (UnimplementedProductCatalogServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 395) | func (UnimplementedProductCatalogServiceServer) testEmbeddedByValue() ... type UnsafeProductCatalogServiceServer (line 400) | type UnsafeProductCatalogServiceServer interface function RegisterProductCatalogServiceServer (line 404) | func RegisterProductCatalogServiceServer(s grpc.ServiceRegistrar, srv Pr... function _ProductCatalogService_ListProducts_Handler (line 415) | func _ProductCatalogService_ListProducts_Handler(srv interface{}, ctx co... function _ProductCatalogService_GetProduct_Handler (line 433) | func _ProductCatalogService_GetProduct_Handler(srv interface{}, ctx cont... function _ProductCatalogService_SearchProducts_Handler (line 451) | func _ProductCatalogService_SearchProducts_Handler(srv interface{}, ctx ... constant ShippingService_GetQuote_FullMethodName (line 494) | ShippingService_GetQuote_FullMethodName = "/hipstershop.ShippingService... constant ShippingService_ShipOrder_FullMethodName (line 495) | ShippingService_ShipOrder_FullMethodName = "/hipstershop.ShippingService... type ShippingServiceClient (line 501) | type ShippingServiceClient interface type shippingServiceClient (line 506) | type shippingServiceClient struct method GetQuote (line 514) | func (c *shippingServiceClient) GetQuote(ctx context.Context, in *GetQ... method ShipOrder (line 524) | func (c *shippingServiceClient) ShipOrder(ctx context.Context, in *Shi... function NewShippingServiceClient (line 510) | func NewShippingServiceClient(cc grpc.ClientConnInterface) ShippingServi... type ShippingServiceServer (line 537) | type ShippingServiceServer interface type UnimplementedShippingServiceServer (line 548) | type UnimplementedShippingServiceServer struct method GetQuote (line 550) | func (UnimplementedShippingServiceServer) GetQuote(context.Context, *G... method ShipOrder (line 553) | func (UnimplementedShippingServiceServer) ShipOrder(context.Context, *... method mustEmbedUnimplementedShippingServiceServer (line 556) | func (UnimplementedShippingServiceServer) mustEmbedUnimplementedShippi... method testEmbeddedByValue (line 557) | func (UnimplementedShippingServiceServer) testEmbeddedByValue() ... type UnsafeShippingServiceServer (line 562) | type UnsafeShippingServiceServer interface function RegisterShippingServiceServer (line 566) | func RegisterShippingServiceServer(s grpc.ServiceRegistrar, srv Shipping... function _ShippingService_GetQuote_Handler (line 577) | func _ShippingService_GetQuote_Handler(srv interface{}, ctx context.Cont... function _ShippingService_ShipOrder_Handler (line 595) | func _ShippingService_ShipOrder_Handler(srv interface{}, ctx context.Con... constant CurrencyService_GetSupportedCurrencies_FullMethodName (line 634) | CurrencyService_GetSupportedCurrencies_FullMethodName = "/hipstershop.Cu... constant CurrencyService_Convert_FullMethodName (line 635) | CurrencyService_Convert_FullMethodName = "/hipstershop.Cu... type CurrencyServiceClient (line 641) | type CurrencyServiceClient interface type currencyServiceClient (line 646) | type currencyServiceClient struct method GetSupportedCurrencies (line 654) | func (c *currencyServiceClient) GetSupportedCurrencies(ctx context.Con... method Convert (line 664) | func (c *currencyServiceClient) Convert(ctx context.Context, in *Curre... function NewCurrencyServiceClient (line 650) | func NewCurrencyServiceClient(cc grpc.ClientConnInterface) CurrencyServi... type CurrencyServiceServer (line 677) | type CurrencyServiceServer interface type UnimplementedCurrencyServiceServer (line 688) | type UnimplementedCurrencyServiceServer struct method GetSupportedCurrencies (line 690) | func (UnimplementedCurrencyServiceServer) GetSupportedCurrencies(conte... method Convert (line 693) | func (UnimplementedCurrencyServiceServer) Convert(context.Context, *Cu... method mustEmbedUnimplementedCurrencyServiceServer (line 696) | func (UnimplementedCurrencyServiceServer) mustEmbedUnimplementedCurren... method testEmbeddedByValue (line 697) | func (UnimplementedCurrencyServiceServer) testEmbeddedByValue() ... type UnsafeCurrencyServiceServer (line 702) | type UnsafeCurrencyServiceServer interface function RegisterCurrencyServiceServer (line 706) | func RegisterCurrencyServiceServer(s grpc.ServiceRegistrar, srv Currency... function _CurrencyService_GetSupportedCurrencies_Handler (line 717) | func _CurrencyService_GetSupportedCurrencies_Handler(srv interface{}, ct... function _CurrencyService_Convert_Handler (line 735) | func _CurrencyService_Convert_Handler(srv interface{}, ctx context.Conte... constant PaymentService_Charge_FullMethodName (line 774) | PaymentService_Charge_FullMethodName = "/hipstershop.PaymentService/Charge" type PaymentServiceClient (line 780) | type PaymentServiceClient interface type paymentServiceClient (line 784) | type paymentServiceClient struct method Charge (line 792) | func (c *paymentServiceClient) Charge(ctx context.Context, in *ChargeR... function NewPaymentServiceClient (line 788) | func NewPaymentServiceClient(cc grpc.ClientConnInterface) PaymentService... type PaymentServiceServer (line 805) | type PaymentServiceServer interface type UnimplementedPaymentServiceServer (line 815) | type UnimplementedPaymentServiceServer struct method Charge (line 817) | func (UnimplementedPaymentServiceServer) Charge(context.Context, *Char... method mustEmbedUnimplementedPaymentServiceServer (line 820) | func (UnimplementedPaymentServiceServer) mustEmbedUnimplementedPayment... method testEmbeddedByValue (line 821) | func (UnimplementedPaymentServiceServer) testEmbeddedByValue() ... type UnsafePaymentServiceServer (line 826) | type UnsafePaymentServiceServer interface function RegisterPaymentServiceServer (line 830) | func RegisterPaymentServiceServer(s grpc.ServiceRegistrar, srv PaymentSe... function _PaymentService_Charge_Handler (line 841) | func _PaymentService_Charge_Handler(srv interface{}, ctx context.Context... constant EmailService_SendOrderConfirmation_FullMethodName (line 876) | EmailService_SendOrderConfirmation_FullMethodName = "/hipstershop.EmailS... type EmailServiceClient (line 882) | type EmailServiceClient interface type emailServiceClient (line 886) | type emailServiceClient struct method SendOrderConfirmation (line 894) | func (c *emailServiceClient) SendOrderConfirmation(ctx context.Context... function NewEmailServiceClient (line 890) | func NewEmailServiceClient(cc grpc.ClientConnInterface) EmailServiceClie... type EmailServiceServer (line 907) | type EmailServiceServer interface type UnimplementedEmailServiceServer (line 917) | type UnimplementedEmailServiceServer struct method SendOrderConfirmation (line 919) | func (UnimplementedEmailServiceServer) SendOrderConfirmation(context.C... method mustEmbedUnimplementedEmailServiceServer (line 922) | func (UnimplementedEmailServiceServer) mustEmbedUnimplementedEmailServ... method testEmbeddedByValue (line 923) | func (UnimplementedEmailServiceServer) testEmbeddedByValue() ... type UnsafeEmailServiceServer (line 928) | type UnsafeEmailServiceServer interface function RegisterEmailServiceServer (line 932) | func RegisterEmailServiceServer(s grpc.ServiceRegistrar, srv EmailServic... function _EmailService_SendOrderConfirmation_Handler (line 943) | func _EmailService_SendOrderConfirmation_Handler(srv interface{}, ctx co... constant CheckoutService_PlaceOrder_FullMethodName (line 978) | CheckoutService_PlaceOrder_FullMethodName = "/hipstershop.CheckoutServic... type CheckoutServiceClient (line 984) | type CheckoutServiceClient interface type checkoutServiceClient (line 988) | type checkoutServiceClient struct method PlaceOrder (line 996) | func (c *checkoutServiceClient) PlaceOrder(ctx context.Context, in *Pl... function NewCheckoutServiceClient (line 992) | func NewCheckoutServiceClient(cc grpc.ClientConnInterface) CheckoutServi... type CheckoutServiceServer (line 1009) | type CheckoutServiceServer interface type UnimplementedCheckoutServiceServer (line 1019) | type UnimplementedCheckoutServiceServer struct method PlaceOrder (line 1021) | func (UnimplementedCheckoutServiceServer) PlaceOrder(context.Context, ... method mustEmbedUnimplementedCheckoutServiceServer (line 1024) | func (UnimplementedCheckoutServiceServer) mustEmbedUnimplementedChecko... method testEmbeddedByValue (line 1025) | func (UnimplementedCheckoutServiceServer) testEmbeddedByValue() ... type UnsafeCheckoutServiceServer (line 1030) | type UnsafeCheckoutServiceServer interface function RegisterCheckoutServiceServer (line 1034) | func RegisterCheckoutServiceServer(s grpc.ServiceRegistrar, srv Checkout... function _CheckoutService_PlaceOrder_Handler (line 1045) | func _CheckoutService_PlaceOrder_Handler(srv interface{}, ctx context.Co... constant AdService_GetAds_FullMethodName (line 1080) | AdService_GetAds_FullMethodName = "/hipstershop.AdService/GetAds" type AdServiceClient (line 1086) | type AdServiceClient interface type adServiceClient (line 1090) | type adServiceClient struct method GetAds (line 1098) | func (c *adServiceClient) GetAds(ctx context.Context, in *AdRequest, o... function NewAdServiceClient (line 1094) | func NewAdServiceClient(cc grpc.ClientConnInterface) AdServiceClient { type AdServiceServer (line 1111) | type AdServiceServer interface type UnimplementedAdServiceServer (line 1121) | type UnimplementedAdServiceServer struct method GetAds (line 1123) | func (UnimplementedAdServiceServer) GetAds(context.Context, *AdRequest... method mustEmbedUnimplementedAdServiceServer (line 1126) | func (UnimplementedAdServiceServer) mustEmbedUnimplementedAdServiceSer... method testEmbeddedByValue (line 1127) | func (UnimplementedAdServiceServer) testEmbeddedByValue() ... type UnsafeAdServiceServer (line 1132) | type UnsafeAdServiceServer interface function RegisterAdServiceServer (line 1136) | func RegisterAdServiceServer(s grpc.ServiceRegistrar, srv AdServiceServe... function _AdService_GetAds_Handler (line 1147) | func _AdService_GetAds_Handler(srv interface{}, ctx context.Context, dec... FILE: src/productcatalogservice/product_catalog.go type productCatalog (line 28) | type productCatalog struct method Check (line 33) | func (p *productCatalog) Check(ctx context.Context, req *healthpb.Heal... method Watch (line 37) | func (p *productCatalog) Watch(req *healthpb.HealthCheckRequest, ws he... method ListProducts (line 41) | func (p *productCatalog) ListProducts(context.Context, *pb.Empty) (*pb... method GetProduct (line 47) | func (p *productCatalog) GetProduct(ctx context.Context, req *pb.GetPr... method SearchProducts (line 63) | func (p *productCatalog) SearchProducts(ctx context.Context, req *pb.S... method parseCatalog (line 77) | func (p *productCatalog) parseCatalog() []*pb.Product { FILE: src/productcatalogservice/product_catalog_test.go function TestMain (line 31) | func TestMain(m *testing.M) { function TestGetProductExists (line 58) | func TestGetProductExists(t *testing.T) { function TestGetProductNotFound (line 70) | func TestGetProductNotFound(t *testing.T) { function TestListProducts (line 79) | func TestListProducts(t *testing.T) { function TestSearchProducts (line 91) | func TestSearchProducts(t *testing.T) { FILE: src/productcatalogservice/server.go function init (line 54) | func init() { function main (line 68) | func main() { function run (line 123) | func run(port string) string { function initStats (line 151) | func initStats() { function initTracing (line 155) | func initTracing() error { function initProfiling (line 179) | func initProfiling(service, version string) { function mustMapEnv (line 199) | func mustMapEnv(target *string, envKey string) { function mustConnGRPC (line 207) | func mustConnGRPC(ctx context.Context, conn **grpc.ClientConn, addr stri... FILE: src/recommendationservice/demo_pb2_grpc.py class CartServiceStub (line 24) | class CartServiceStub(object): method __init__ (line 29) | def __init__(self, channel): class CartServiceServicer (line 52) | class CartServiceServicer(object): method AddItem (line 57) | def AddItem(self, request, context): method GetCart (line 63) | def GetCart(self, request, context): method EmptyCart (line 69) | def EmptyCart(self, request, context): function add_CartServiceServicer_to_server (line 76) | def add_CartServiceServicer_to_server(servicer, server): class CartService (line 100) | class CartService(object): method AddItem (line 106) | def AddItem(request, method GetCart (line 123) | def GetCart(request, method EmptyCart (line 140) | def EmptyCart(request, class RecommendationServiceStub (line 157) | class RecommendationServiceStub(object): method __init__ (line 162) | def __init__(self, channel): class RecommendationServiceServicer (line 175) | class RecommendationServiceServicer(object): method ListRecommendations (line 180) | def ListRecommendations(self, request, context): function add_RecommendationServiceServicer_to_server (line 187) | def add_RecommendationServiceServicer_to_server(servicer, server): class RecommendationService (line 201) | class RecommendationService(object): method ListRecommendations (line 207) | def ListRecommendations(request, class ProductCatalogServiceStub (line 224) | class ProductCatalogServiceStub(object): method __init__ (line 229) | def __init__(self, channel): class ProductCatalogServiceServicer (line 252) | class ProductCatalogServiceServicer(object): method ListProducts (line 257) | def ListProducts(self, request, context): method GetProduct (line 263) | def GetProduct(self, request, context): method SearchProducts (line 269) | def SearchProducts(self, request, context): function add_ProductCatalogServiceServicer_to_server (line 276) | def add_ProductCatalogServiceServicer_to_server(servicer, server): class ProductCatalogService (line 300) | class ProductCatalogService(object): method ListProducts (line 306) | def ListProducts(request, method GetProduct (line 323) | def GetProduct(request, method SearchProducts (line 340) | def SearchProducts(request, class ShippingServiceStub (line 357) | class ShippingServiceStub(object): method __init__ (line 362) | def __init__(self, channel): class ShippingServiceServicer (line 380) | class ShippingServiceServicer(object): method GetQuote (line 385) | def GetQuote(self, request, context): method ShipOrder (line 391) | def ShipOrder(self, request, context): function add_ShippingServiceServicer_to_server (line 398) | def add_ShippingServiceServicer_to_server(servicer, server): class ShippingService (line 417) | class ShippingService(object): method GetQuote (line 423) | def GetQuote(request, method ShipOrder (line 440) | def ShipOrder(request, class CurrencyServiceStub (line 457) | class CurrencyServiceStub(object): method __init__ (line 462) | def __init__(self, channel): class CurrencyServiceServicer (line 480) | class CurrencyServiceServicer(object): method GetSupportedCurrencies (line 485) | def GetSupportedCurrencies(self, request, context): method Convert (line 491) | def Convert(self, request, context): function add_CurrencyServiceServicer_to_server (line 498) | def add_CurrencyServiceServicer_to_server(servicer, server): class CurrencyService (line 517) | class CurrencyService(object): method GetSupportedCurrencies (line 523) | def GetSupportedCurrencies(request, method Convert (line 540) | def Convert(request, class PaymentServiceStub (line 557) | class PaymentServiceStub(object): method __init__ (line 562) | def __init__(self, channel): class PaymentServiceServicer (line 575) | class PaymentServiceServicer(object): method Charge (line 580) | def Charge(self, request, context): function add_PaymentServiceServicer_to_server (line 587) | def add_PaymentServiceServicer_to_server(servicer, server): class PaymentService (line 601) | class PaymentService(object): method Charge (line 607) | def Charge(request, class EmailServiceStub (line 624) | class EmailServiceStub(object): method __init__ (line 629) | def __init__(self, channel): class EmailServiceServicer (line 642) | class EmailServiceServicer(object): method SendOrderConfirmation (line 647) | def SendOrderConfirmation(self, request, context): function add_EmailServiceServicer_to_server (line 654) | def add_EmailServiceServicer_to_server(servicer, server): class EmailService (line 668) | class EmailService(object): method SendOrderConfirmation (line 674) | def SendOrderConfirmation(request, class CheckoutServiceStub (line 691) | class CheckoutServiceStub(object): method __init__ (line 696) | def __init__(self, channel): class CheckoutServiceServicer (line 709) | class CheckoutServiceServicer(object): method PlaceOrder (line 714) | def PlaceOrder(self, request, context): function add_CheckoutServiceServicer_to_server (line 721) | def add_CheckoutServiceServicer_to_server(servicer, server): class CheckoutService (line 735) | class CheckoutService(object): method PlaceOrder (line 741) | def PlaceOrder(request, class AdServiceStub (line 758) | class AdServiceStub(object): method __init__ (line 763) | def __init__(self, channel): class AdServiceServicer (line 776) | class AdServiceServicer(object): method GetAds (line 781) | def GetAds(self, request, context): function add_AdServiceServicer_to_server (line 788) | def add_AdServiceServicer_to_server(servicer, server): class AdService (line 802) | class AdService(object): method GetAds (line 808) | def GetAds(request, FILE: src/recommendationservice/logger.py class CustomJsonFormatter (line 23) | class CustomJsonFormatter(jsonlogger.JsonFormatter): method add_fields (line 24) | def add_fields(self, log_record, record, message_dict): function getJSONLogger (line 33) | def getJSONLogger(name): FILE: src/recommendationservice/recommendation_server.py function initStackdriverProfiling (line 43) | def initStackdriverProfiling(): class RecommendationService (line 69) | class RecommendationService(demo_pb2_grpc.RecommendationServiceServicer): method ListRecommendations (line 70) | def ListRecommendations(self, request, context): method Check (line 88) | def Check(self, request, context): method Watch (line 92) | def Watch(self, request, context): FILE: src/shippingservice/genproto/demo.pb.go constant _ (line 32) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 34) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) type CartItem (line 37) | type CartItem struct method Reset (line 46) | func (x *CartItem) Reset() { method String (line 55) | func (x *CartItem) String() string { method ProtoMessage (line 59) | func (*CartItem) ProtoMessage() {} method ProtoReflect (line 61) | func (x *CartItem) ProtoReflect() protoreflect.Message { method Descriptor (line 74) | func (*CartItem) Descriptor() ([]byte, []int) { method GetProductId (line 78) | func (x *CartItem) GetProductId() string { method GetQuantity (line 85) | func (x *CartItem) GetQuantity() int32 { type AddItemRequest (line 92) | type AddItemRequest struct method Reset (line 101) | func (x *AddItemRequest) Reset() { method String (line 110) | func (x *AddItemRequest) String() string { method ProtoMessage (line 114) | func (*AddItemRequest) ProtoMessage() {} method ProtoReflect (line 116) | func (x *AddItemRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*AddItemRequest) Descriptor() ([]byte, []int) { method GetUserId (line 133) | func (x *AddItemRequest) GetUserId() string { method GetItem (line 140) | func (x *AddItemRequest) GetItem() *CartItem { type EmptyCartRequest (line 147) | type EmptyCartRequest struct method Reset (line 155) | func (x *EmptyCartRequest) Reset() { method String (line 164) | func (x *EmptyCartRequest) String() string { method ProtoMessage (line 168) | func (*EmptyCartRequest) ProtoMessage() {} method ProtoReflect (line 170) | func (x *EmptyCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 183) | func (*EmptyCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 187) | func (x *EmptyCartRequest) GetUserId() string { type GetCartRequest (line 194) | type GetCartRequest struct method Reset (line 202) | func (x *GetCartRequest) Reset() { method String (line 211) | func (x *GetCartRequest) String() string { method ProtoMessage (line 215) | func (*GetCartRequest) ProtoMessage() {} method ProtoReflect (line 217) | func (x *GetCartRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 230) | func (*GetCartRequest) Descriptor() ([]byte, []int) { method GetUserId (line 234) | func (x *GetCartRequest) GetUserId() string { type Cart (line 241) | type Cart struct method Reset (line 250) | func (x *Cart) Reset() { method String (line 259) | func (x *Cart) String() string { method ProtoMessage (line 263) | func (*Cart) ProtoMessage() {} method ProtoReflect (line 265) | func (x *Cart) ProtoReflect() protoreflect.Message { method Descriptor (line 278) | func (*Cart) Descriptor() ([]byte, []int) { method GetUserId (line 282) | func (x *Cart) GetUserId() string { method GetItems (line 289) | func (x *Cart) GetItems() []*CartItem { type Empty (line 296) | type Empty struct method Reset (line 302) | func (x *Empty) Reset() { method String (line 311) | func (x *Empty) String() string { method ProtoMessage (line 315) | func (*Empty) ProtoMessage() {} method ProtoReflect (line 317) | func (x *Empty) ProtoReflect() protoreflect.Message { method Descriptor (line 330) | func (*Empty) Descriptor() ([]byte, []int) { type ListRecommendationsRequest (line 334) | type ListRecommendationsRequest struct method Reset (line 343) | func (x *ListRecommendationsRequest) Reset() { method String (line 352) | func (x *ListRecommendationsRequest) String() string { method ProtoMessage (line 356) | func (*ListRecommendationsRequest) ProtoMessage() {} method ProtoReflect (line 358) | func (x *ListRecommendationsRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 371) | func (*ListRecommendationsRequest) Descriptor() ([]byte, []int) { method GetUserId (line 375) | func (x *ListRecommendationsRequest) GetUserId() string { method GetProductIds (line 382) | func (x *ListRecommendationsRequest) GetProductIds() []string { type ListRecommendationsResponse (line 389) | type ListRecommendationsResponse struct method Reset (line 397) | func (x *ListRecommendationsResponse) Reset() { method String (line 406) | func (x *ListRecommendationsResponse) String() string { method ProtoMessage (line 410) | func (*ListRecommendationsResponse) ProtoMessage() {} method ProtoReflect (line 412) | func (x *ListRecommendationsResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 425) | func (*ListRecommendationsResponse) Descriptor() ([]byte, []int) { method GetProductIds (line 429) | func (x *ListRecommendationsResponse) GetProductIds() []string { type Product (line 436) | type Product struct method Reset (line 451) | func (x *Product) Reset() { method String (line 460) | func (x *Product) String() string { method ProtoMessage (line 464) | func (*Product) ProtoMessage() {} method ProtoReflect (line 466) | func (x *Product) ProtoReflect() protoreflect.Message { method Descriptor (line 479) | func (*Product) Descriptor() ([]byte, []int) { method GetId (line 483) | func (x *Product) GetId() string { method GetName (line 490) | func (x *Product) GetName() string { method GetDescription (line 497) | func (x *Product) GetDescription() string { method GetPicture (line 504) | func (x *Product) GetPicture() string { method GetPriceUsd (line 511) | func (x *Product) GetPriceUsd() *Money { method GetCategories (line 518) | func (x *Product) GetCategories() []string { type ListProductsResponse (line 525) | type ListProductsResponse struct method Reset (line 533) | func (x *ListProductsResponse) Reset() { method String (line 542) | func (x *ListProductsResponse) String() string { method ProtoMessage (line 546) | func (*ListProductsResponse) ProtoMessage() {} method ProtoReflect (line 548) | func (x *ListProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 561) | func (*ListProductsResponse) Descriptor() ([]byte, []int) { method GetProducts (line 565) | func (x *ListProductsResponse) GetProducts() []*Product { type GetProductRequest (line 572) | type GetProductRequest struct method Reset (line 580) | func (x *GetProductRequest) Reset() { method String (line 589) | func (x *GetProductRequest) String() string { method ProtoMessage (line 593) | func (*GetProductRequest) ProtoMessage() {} method ProtoReflect (line 595) | func (x *GetProductRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 608) | func (*GetProductRequest) Descriptor() ([]byte, []int) { method GetId (line 612) | func (x *GetProductRequest) GetId() string { type SearchProductsRequest (line 619) | type SearchProductsRequest struct method Reset (line 627) | func (x *SearchProductsRequest) Reset() { method String (line 636) | func (x *SearchProductsRequest) String() string { method ProtoMessage (line 640) | func (*SearchProductsRequest) ProtoMessage() {} method ProtoReflect (line 642) | func (x *SearchProductsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 655) | func (*SearchProductsRequest) Descriptor() ([]byte, []int) { method GetQuery (line 659) | func (x *SearchProductsRequest) GetQuery() string { type SearchProductsResponse (line 666) | type SearchProductsResponse struct method Reset (line 674) | func (x *SearchProductsResponse) Reset() { method String (line 683) | func (x *SearchProductsResponse) String() string { method ProtoMessage (line 687) | func (*SearchProductsResponse) ProtoMessage() {} method ProtoReflect (line 689) | func (x *SearchProductsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 702) | func (*SearchProductsResponse) Descriptor() ([]byte, []int) { method GetResults (line 706) | func (x *SearchProductsResponse) GetResults() []*Product { type GetQuoteRequest (line 713) | type GetQuoteRequest struct method Reset (line 722) | func (x *GetQuoteRequest) Reset() { method String (line 731) | func (x *GetQuoteRequest) String() string { method ProtoMessage (line 735) | func (*GetQuoteRequest) ProtoMessage() {} method ProtoReflect (line 737) | func (x *GetQuoteRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 750) | func (*GetQuoteRequest) Descriptor() ([]byte, []int) { method GetAddress (line 754) | func (x *GetQuoteRequest) GetAddress() *Address { method GetItems (line 761) | func (x *GetQuoteRequest) GetItems() []*CartItem { type GetQuoteResponse (line 768) | type GetQuoteResponse struct method Reset (line 776) | func (x *GetQuoteResponse) Reset() { method String (line 785) | func (x *GetQuoteResponse) String() string { method ProtoMessage (line 789) | func (*GetQuoteResponse) ProtoMessage() {} method ProtoReflect (line 791) | func (x *GetQuoteResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 804) | func (*GetQuoteResponse) Descriptor() ([]byte, []int) { method GetCostUsd (line 808) | func (x *GetQuoteResponse) GetCostUsd() *Money { type ShipOrderRequest (line 815) | type ShipOrderRequest struct method Reset (line 824) | func (x *ShipOrderRequest) Reset() { method String (line 833) | func (x *ShipOrderRequest) String() string { method ProtoMessage (line 837) | func (*ShipOrderRequest) ProtoMessage() {} method ProtoReflect (line 839) | func (x *ShipOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 852) | func (*ShipOrderRequest) Descriptor() ([]byte, []int) { method GetAddress (line 856) | func (x *ShipOrderRequest) GetAddress() *Address { method GetItems (line 863) | func (x *ShipOrderRequest) GetItems() []*CartItem { type ShipOrderResponse (line 870) | type ShipOrderResponse struct method Reset (line 878) | func (x *ShipOrderResponse) Reset() { method String (line 887) | func (x *ShipOrderResponse) String() string { method ProtoMessage (line 891) | func (*ShipOrderResponse) ProtoMessage() {} method ProtoReflect (line 893) | func (x *ShipOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 906) | func (*ShipOrderResponse) Descriptor() ([]byte, []int) { method GetTrackingId (line 910) | func (x *ShipOrderResponse) GetTrackingId() string { type Address (line 917) | type Address struct method Reset (line 929) | func (x *Address) Reset() { method String (line 938) | func (x *Address) String() string { method ProtoMessage (line 942) | func (*Address) ProtoMessage() {} method ProtoReflect (line 944) | func (x *Address) ProtoReflect() protoreflect.Message { method Descriptor (line 957) | func (*Address) Descriptor() ([]byte, []int) { method GetStreetAddress (line 961) | func (x *Address) GetStreetAddress() string { method GetCity (line 968) | func (x *Address) GetCity() string { method GetState (line 975) | func (x *Address) GetState() string { method GetCountry (line 982) | func (x *Address) GetCountry() string { method GetZipCode (line 989) | func (x *Address) GetZipCode() int32 { type Money (line 997) | type Money struct method Reset (line 1016) | func (x *Money) Reset() { method String (line 1025) | func (x *Money) String() string { method ProtoMessage (line 1029) | func (*Money) ProtoMessage() {} method ProtoReflect (line 1031) | func (x *Money) ProtoReflect() protoreflect.Message { method Descriptor (line 1044) | func (*Money) Descriptor() ([]byte, []int) { method GetCurrencyCode (line 1048) | func (x *Money) GetCurrencyCode() string { method GetUnits (line 1055) | func (x *Money) GetUnits() int64 { method GetNanos (line 1062) | func (x *Money) GetNanos() int32 { type GetSupportedCurrenciesResponse (line 1069) | type GetSupportedCurrenciesResponse struct method Reset (line 1078) | func (x *GetSupportedCurrenciesResponse) Reset() { method String (line 1087) | func (x *GetSupportedCurrenciesResponse) String() string { method ProtoMessage (line 1091) | func (*GetSupportedCurrenciesResponse) ProtoMessage() {} method ProtoReflect (line 1093) | func (x *GetSupportedCurrenciesResponse) ProtoReflect() protoreflect.M... method Descriptor (line 1106) | func (*GetSupportedCurrenciesResponse) Descriptor() ([]byte, []int) { method GetCurrencyCodes (line 1110) | func (x *GetSupportedCurrenciesResponse) GetCurrencyCodes() []string { type CurrencyConversionRequest (line 1117) | type CurrencyConversionRequest struct method Reset (line 1127) | func (x *CurrencyConversionRequest) Reset() { method String (line 1136) | func (x *CurrencyConversionRequest) String() string { method ProtoMessage (line 1140) | func (*CurrencyConversionRequest) ProtoMessage() {} method ProtoReflect (line 1142) | func (x *CurrencyConversionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1155) | func (*CurrencyConversionRequest) Descriptor() ([]byte, []int) { method GetFrom (line 1159) | func (x *CurrencyConversionRequest) GetFrom() *Money { method GetToCode (line 1166) | func (x *CurrencyConversionRequest) GetToCode() string { type CreditCardInfo (line 1173) | type CreditCardInfo struct method Reset (line 1184) | func (x *CreditCardInfo) Reset() { method String (line 1193) | func (x *CreditCardInfo) String() string { method ProtoMessage (line 1197) | func (*CreditCardInfo) ProtoMessage() {} method ProtoReflect (line 1199) | func (x *CreditCardInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1212) | func (*CreditCardInfo) Descriptor() ([]byte, []int) { method GetCreditCardNumber (line 1216) | func (x *CreditCardInfo) GetCreditCardNumber() string { method GetCreditCardCvv (line 1223) | func (x *CreditCardInfo) GetCreditCardCvv() int32 { method GetCreditCardExpirationYear (line 1230) | func (x *CreditCardInfo) GetCreditCardExpirationYear() int32 { method GetCreditCardExpirationMonth (line 1237) | func (x *CreditCardInfo) GetCreditCardExpirationMonth() int32 { type ChargeRequest (line 1244) | type ChargeRequest struct method Reset (line 1253) | func (x *ChargeRequest) Reset() { method String (line 1262) | func (x *ChargeRequest) String() string { method ProtoMessage (line 1266) | func (*ChargeRequest) ProtoMessage() {} method ProtoReflect (line 1268) | func (x *ChargeRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1281) | func (*ChargeRequest) Descriptor() ([]byte, []int) { method GetAmount (line 1285) | func (x *ChargeRequest) GetAmount() *Money { method GetCreditCard (line 1292) | func (x *ChargeRequest) GetCreditCard() *CreditCardInfo { type ChargeResponse (line 1299) | type ChargeResponse struct method Reset (line 1307) | func (x *ChargeResponse) Reset() { method String (line 1316) | func (x *ChargeResponse) String() string { method ProtoMessage (line 1320) | func (*ChargeResponse) ProtoMessage() {} method ProtoReflect (line 1322) | func (x *ChargeResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1335) | func (*ChargeResponse) Descriptor() ([]byte, []int) { method GetTransactionId (line 1339) | func (x *ChargeResponse) GetTransactionId() string { type OrderItem (line 1346) | type OrderItem struct method Reset (line 1355) | func (x *OrderItem) Reset() { method String (line 1364) | func (x *OrderItem) String() string { method ProtoMessage (line 1368) | func (*OrderItem) ProtoMessage() {} method ProtoReflect (line 1370) | func (x *OrderItem) ProtoReflect() protoreflect.Message { method Descriptor (line 1383) | func (*OrderItem) Descriptor() ([]byte, []int) { method GetItem (line 1387) | func (x *OrderItem) GetItem() *CartItem { method GetCost (line 1394) | func (x *OrderItem) GetCost() *Money { type OrderResult (line 1401) | type OrderResult struct method Reset (line 1413) | func (x *OrderResult) Reset() { method String (line 1422) | func (x *OrderResult) String() string { method ProtoMessage (line 1426) | func (*OrderResult) ProtoMessage() {} method ProtoReflect (line 1428) | func (x *OrderResult) ProtoReflect() protoreflect.Message { method Descriptor (line 1441) | func (*OrderResult) Descriptor() ([]byte, []int) { method GetOrderId (line 1445) | func (x *OrderResult) GetOrderId() string { method GetShippingTrackingId (line 1452) | func (x *OrderResult) GetShippingTrackingId() string { method GetShippingCost (line 1459) | func (x *OrderResult) GetShippingCost() *Money { method GetShippingAddress (line 1466) | func (x *OrderResult) GetShippingAddress() *Address { method GetItems (line 1473) | func (x *OrderResult) GetItems() []*OrderItem { type SendOrderConfirmationRequest (line 1480) | type SendOrderConfirmationRequest struct method Reset (line 1489) | func (x *SendOrderConfirmationRequest) Reset() { method String (line 1498) | func (x *SendOrderConfirmationRequest) String() string { method ProtoMessage (line 1502) | func (*SendOrderConfirmationRequest) ProtoMessage() {} method ProtoReflect (line 1504) | func (x *SendOrderConfirmationRequest) ProtoReflect() protoreflect.Mes... method Descriptor (line 1517) | func (*SendOrderConfirmationRequest) Descriptor() ([]byte, []int) { method GetEmail (line 1521) | func (x *SendOrderConfirmationRequest) GetEmail() string { method GetOrder (line 1528) | func (x *SendOrderConfirmationRequest) GetOrder() *OrderResult { type PlaceOrderRequest (line 1535) | type PlaceOrderRequest struct method Reset (line 1547) | func (x *PlaceOrderRequest) Reset() { method String (line 1556) | func (x *PlaceOrderRequest) String() string { method ProtoMessage (line 1560) | func (*PlaceOrderRequest) ProtoMessage() {} method ProtoReflect (line 1562) | func (x *PlaceOrderRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1575) | func (*PlaceOrderRequest) Descriptor() ([]byte, []int) { method GetUserId (line 1579) | func (x *PlaceOrderRequest) GetUserId() string { method GetUserCurrency (line 1586) | func (x *PlaceOrderRequest) GetUserCurrency() string { method GetAddress (line 1593) | func (x *PlaceOrderRequest) GetAddress() *Address { method GetEmail (line 1600) | func (x *PlaceOrderRequest) GetEmail() string { method GetCreditCard (line 1607) | func (x *PlaceOrderRequest) GetCreditCard() *CreditCardInfo { type PlaceOrderResponse (line 1614) | type PlaceOrderResponse struct method Reset (line 1622) | func (x *PlaceOrderResponse) Reset() { method String (line 1631) | func (x *PlaceOrderResponse) String() string { method ProtoMessage (line 1635) | func (*PlaceOrderResponse) ProtoMessage() {} method ProtoReflect (line 1637) | func (x *PlaceOrderResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1650) | func (*PlaceOrderResponse) Descriptor() ([]byte, []int) { method GetOrder (line 1654) | func (x *PlaceOrderResponse) GetOrder() *OrderResult { type AdRequest (line 1661) | type AdRequest struct method Reset (line 1670) | func (x *AdRequest) Reset() { method String (line 1679) | func (x *AdRequest) String() string { method ProtoMessage (line 1683) | func (*AdRequest) ProtoMessage() {} method ProtoReflect (line 1685) | func (x *AdRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1698) | func (*AdRequest) Descriptor() ([]byte, []int) { method GetContextKeys (line 1702) | func (x *AdRequest) GetContextKeys() []string { type AdResponse (line 1709) | type AdResponse struct method Reset (line 1717) | func (x *AdResponse) Reset() { method String (line 1726) | func (x *AdResponse) String() string { method ProtoMessage (line 1730) | func (*AdResponse) ProtoMessage() {} method ProtoReflect (line 1732) | func (x *AdResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1745) | func (*AdResponse) Descriptor() ([]byte, []int) { method GetAds (line 1749) | func (x *AdResponse) GetAds() []*Ad { type Ad (line 1756) | type Ad struct method Reset (line 1767) | func (x *Ad) Reset() { method String (line 1776) | func (x *Ad) String() string { method ProtoMessage (line 1780) | func (*Ad) ProtoMessage() {} method ProtoReflect (line 1782) | func (x *Ad) ProtoReflect() protoreflect.Message { method Descriptor (line 1795) | func (*Ad) Descriptor() ([]byte, []int) { method GetRedirectUrl (line 1799) | func (x *Ad) GetRedirectUrl() string { method GetText (line 1806) | func (x *Ad) GetText() string { function file_demo_proto_rawDescGZIP (line 2098) | func file_demo_proto_rawDescGZIP() []byte { function init (line 2201) | func init() { file_demo_proto_init() } function file_demo_proto_init (line 2202) | func file_demo_proto_init() { FILE: src/shippingservice/genproto/demo_grpc.pb.go constant _ (line 33) | _ = grpc.SupportPackageIsVersion9 constant CartService_AddItem_FullMethodName (line 36) | CartService_AddItem_FullMethodName = "/hipstershop.CartService/AddItem" constant CartService_GetCart_FullMethodName (line 37) | CartService_GetCart_FullMethodName = "/hipstershop.CartService/GetCart" constant CartService_EmptyCart_FullMethodName (line 38) | CartService_EmptyCart_FullMethodName = "/hipstershop.CartService/EmptyCart" type CartServiceClient (line 44) | type CartServiceClient interface type cartServiceClient (line 50) | type cartServiceClient struct method AddItem (line 58) | func (c *cartServiceClient) AddItem(ctx context.Context, in *AddItemRe... method GetCart (line 68) | func (c *cartServiceClient) GetCart(ctx context.Context, in *GetCartRe... method EmptyCart (line 78) | func (c *cartServiceClient) EmptyCart(ctx context.Context, in *EmptyCa... function NewCartServiceClient (line 54) | func NewCartServiceClient(cc grpc.ClientConnInterface) CartServiceClient { type CartServiceServer (line 91) | type CartServiceServer interface type UnimplementedCartServiceServer (line 103) | type UnimplementedCartServiceServer struct method AddItem (line 105) | func (UnimplementedCartServiceServer) AddItem(context.Context, *AddIte... method GetCart (line 108) | func (UnimplementedCartServiceServer) GetCart(context.Context, *GetCar... method EmptyCart (line 111) | func (UnimplementedCartServiceServer) EmptyCart(context.Context, *Empt... method mustEmbedUnimplementedCartServiceServer (line 114) | func (UnimplementedCartServiceServer) mustEmbedUnimplementedCartServic... method testEmbeddedByValue (line 115) | func (UnimplementedCartServiceServer) testEmbeddedByValue() ... type UnsafeCartServiceServer (line 120) | type UnsafeCartServiceServer interface function RegisterCartServiceServer (line 124) | func RegisterCartServiceServer(s grpc.ServiceRegistrar, srv CartServiceS... function _CartService_AddItem_Handler (line 135) | func _CartService_AddItem_Handler(srv interface{}, ctx context.Context, ... function _CartService_GetCart_Handler (line 153) | func _CartService_GetCart_Handler(srv interface{}, ctx context.Context, ... function _CartService_EmptyCart_Handler (line 171) | func _CartService_EmptyCart_Handler(srv interface{}, ctx context.Context... constant RecommendationService_ListRecommendations_FullMethodName (line 214) | RecommendationService_ListRecommendations_FullMethodName = "/hipstershop... type RecommendationServiceClient (line 220) | type RecommendationServiceClient interface type recommendationServiceClient (line 224) | type recommendationServiceClient struct method ListRecommendations (line 232) | func (c *recommendationServiceClient) ListRecommendations(ctx context.... function NewRecommendationServiceClient (line 228) | func NewRecommendationServiceClient(cc grpc.ClientConnInterface) Recomme... type RecommendationServiceServer (line 245) | type RecommendationServiceServer interface type UnimplementedRecommendationServiceServer (line 255) | type UnimplementedRecommendationServiceServer struct method ListRecommendations (line 257) | func (UnimplementedRecommendationServiceServer) ListRecommendations(co... method mustEmbedUnimplementedRecommendationServiceServer (line 260) | func (UnimplementedRecommendationServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 261) | func (UnimplementedRecommendationServiceServer) testEmbeddedByValue() ... type UnsafeRecommendationServiceServer (line 266) | type UnsafeRecommendationServiceServer interface function RegisterRecommendationServiceServer (line 270) | func RegisterRecommendationServiceServer(s grpc.ServiceRegistrar, srv Re... function _RecommendationService_ListRecommendations_Handler (line 281) | func _RecommendationService_ListRecommendations_Handler(srv interface{},... constant ProductCatalogService_ListProducts_FullMethodName (line 316) | ProductCatalogService_ListProducts_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_GetProduct_FullMethodName (line 317) | ProductCatalogService_GetProduct_FullMethodName = "/hipstershop.Prod... constant ProductCatalogService_SearchProducts_FullMethodName (line 318) | ProductCatalogService_SearchProducts_FullMethodName = "/hipstershop.Prod... type ProductCatalogServiceClient (line 324) | type ProductCatalogServiceClient interface type productCatalogServiceClient (line 330) | type productCatalogServiceClient struct method ListProducts (line 338) | func (c *productCatalogServiceClient) ListProducts(ctx context.Context... method GetProduct (line 348) | func (c *productCatalogServiceClient) GetProduct(ctx context.Context, ... method SearchProducts (line 358) | func (c *productCatalogServiceClient) SearchProducts(ctx context.Conte... function NewProductCatalogServiceClient (line 334) | func NewProductCatalogServiceClient(cc grpc.ClientConnInterface) Product... type ProductCatalogServiceServer (line 371) | type ProductCatalogServiceServer interface type UnimplementedProductCatalogServiceServer (line 383) | type UnimplementedProductCatalogServiceServer struct method ListProducts (line 385) | func (UnimplementedProductCatalogServiceServer) ListProducts(context.C... method GetProduct (line 388) | func (UnimplementedProductCatalogServiceServer) GetProduct(context.Con... method SearchProducts (line 391) | func (UnimplementedProductCatalogServiceServer) SearchProducts(context... method mustEmbedUnimplementedProductCatalogServiceServer (line 394) | func (UnimplementedProductCatalogServiceServer) mustEmbedUnimplemented... method testEmbeddedByValue (line 395) | func (UnimplementedProductCatalogServiceServer) testEmbeddedByValue() ... type UnsafeProductCatalogServiceServer (line 400) | type UnsafeProductCatalogServiceServer interface function RegisterProductCatalogServiceServer (line 404) | func RegisterProductCatalogServiceServer(s grpc.ServiceRegistrar, srv Pr... function _ProductCatalogService_ListProducts_Handler (line 415) | func _ProductCatalogService_ListProducts_Handler(srv interface{}, ctx co... function _ProductCatalogService_GetProduct_Handler (line 433) | func _ProductCatalogService_GetProduct_Handler(srv interface{}, ctx cont... function _ProductCatalogService_SearchProducts_Handler (line 451) | func _ProductCatalogService_SearchProducts_Handler(srv interface{}, ctx ... constant ShippingService_GetQuote_FullMethodName (line 494) | ShippingService_GetQuote_FullMethodName = "/hipstershop.ShippingService... constant ShippingService_ShipOrder_FullMethodName (line 495) | ShippingService_ShipOrder_FullMethodName = "/hipstershop.ShippingService... type ShippingServiceClient (line 501) | type ShippingServiceClient interface type shippingServiceClient (line 506) | type shippingServiceClient struct method GetQuote (line 514) | func (c *shippingServiceClient) GetQuote(ctx context.Context, in *GetQ... method ShipOrder (line 524) | func (c *shippingServiceClient) ShipOrder(ctx context.Context, in *Shi... function NewShippingServiceClient (line 510) | func NewShippingServiceClient(cc grpc.ClientConnInterface) ShippingServi... type ShippingServiceServer (line 537) | type ShippingServiceServer interface type UnimplementedShippingServiceServer (line 548) | type UnimplementedShippingServiceServer struct method GetQuote (line 550) | func (UnimplementedShippingServiceServer) GetQuote(context.Context, *G... method ShipOrder (line 553) | func (UnimplementedShippingServiceServer) ShipOrder(context.Context, *... method mustEmbedUnimplementedShippingServiceServer (line 556) | func (UnimplementedShippingServiceServer) mustEmbedUnimplementedShippi... method testEmbeddedByValue (line 557) | func (UnimplementedShippingServiceServer) testEmbeddedByValue() ... type UnsafeShippingServiceServer (line 562) | type UnsafeShippingServiceServer interface function RegisterShippingServiceServer (line 566) | func RegisterShippingServiceServer(s grpc.ServiceRegistrar, srv Shipping... function _ShippingService_GetQuote_Handler (line 577) | func _ShippingService_GetQuote_Handler(srv interface{}, ctx context.Cont... function _ShippingService_ShipOrder_Handler (line 595) | func _ShippingService_ShipOrder_Handler(srv interface{}, ctx context.Con... constant CurrencyService_GetSupportedCurrencies_FullMethodName (line 634) | CurrencyService_GetSupportedCurrencies_FullMethodName = "/hipstershop.Cu... constant CurrencyService_Convert_FullMethodName (line 635) | CurrencyService_Convert_FullMethodName = "/hipstershop.Cu... type CurrencyServiceClient (line 641) | type CurrencyServiceClient interface type currencyServiceClient (line 646) | type currencyServiceClient struct method GetSupportedCurrencies (line 654) | func (c *currencyServiceClient) GetSupportedCurrencies(ctx context.Con... method Convert (line 664) | func (c *currencyServiceClient) Convert(ctx context.Context, in *Curre... function NewCurrencyServiceClient (line 650) | func NewCurrencyServiceClient(cc grpc.ClientConnInterface) CurrencyServi... type CurrencyServiceServer (line 677) | type CurrencyServiceServer interface type UnimplementedCurrencyServiceServer (line 688) | type UnimplementedCurrencyServiceServer struct method GetSupportedCurrencies (line 690) | func (UnimplementedCurrencyServiceServer) GetSupportedCurrencies(conte... method Convert (line 693) | func (UnimplementedCurrencyServiceServer) Convert(context.Context, *Cu... method mustEmbedUnimplementedCurrencyServiceServer (line 696) | func (UnimplementedCurrencyServiceServer) mustEmbedUnimplementedCurren... method testEmbeddedByValue (line 697) | func (UnimplementedCurrencyServiceServer) testEmbeddedByValue() ... type UnsafeCurrencyServiceServer (line 702) | type UnsafeCurrencyServiceServer interface function RegisterCurrencyServiceServer (line 706) | func RegisterCurrencyServiceServer(s grpc.ServiceRegistrar, srv Currency... function _CurrencyService_GetSupportedCurrencies_Handler (line 717) | func _CurrencyService_GetSupportedCurrencies_Handler(srv interface{}, ct... function _CurrencyService_Convert_Handler (line 735) | func _CurrencyService_Convert_Handler(srv interface{}, ctx context.Conte... constant PaymentService_Charge_FullMethodName (line 774) | PaymentService_Charge_FullMethodName = "/hipstershop.PaymentService/Charge" type PaymentServiceClient (line 780) | type PaymentServiceClient interface type paymentServiceClient (line 784) | type paymentServiceClient struct method Charge (line 792) | func (c *paymentServiceClient) Charge(ctx context.Context, in *ChargeR... function NewPaymentServiceClient (line 788) | func NewPaymentServiceClient(cc grpc.ClientConnInterface) PaymentService... type PaymentServiceServer (line 805) | type PaymentServiceServer interface type UnimplementedPaymentServiceServer (line 815) | type UnimplementedPaymentServiceServer struct method Charge (line 817) | func (UnimplementedPaymentServiceServer) Charge(context.Context, *Char... method mustEmbedUnimplementedPaymentServiceServer (line 820) | func (UnimplementedPaymentServiceServer) mustEmbedUnimplementedPayment... method testEmbeddedByValue (line 821) | func (UnimplementedPaymentServiceServer) testEmbeddedByValue() ... type UnsafePaymentServiceServer (line 826) | type UnsafePaymentServiceServer interface function RegisterPaymentServiceServer (line 830) | func RegisterPaymentServiceServer(s grpc.ServiceRegistrar, srv PaymentSe... function _PaymentService_Charge_Handler (line 841) | func _PaymentService_Charge_Handler(srv interface{}, ctx context.Context... constant EmailService_SendOrderConfirmation_FullMethodName (line 876) | EmailService_SendOrderConfirmation_FullMethodName = "/hipstershop.EmailS... type EmailServiceClient (line 882) | type EmailServiceClient interface type emailServiceClient (line 886) | type emailServiceClient struct method SendOrderConfirmation (line 894) | func (c *emailServiceClient) SendOrderConfirmation(ctx context.Context... function NewEmailServiceClient (line 890) | func NewEmailServiceClient(cc grpc.ClientConnInterface) EmailServiceClie... type EmailServiceServer (line 907) | type EmailServiceServer interface type UnimplementedEmailServiceServer (line 917) | type UnimplementedEmailServiceServer struct method SendOrderConfirmation (line 919) | func (UnimplementedEmailServiceServer) SendOrderConfirmation(context.C... method mustEmbedUnimplementedEmailServiceServer (line 922) | func (UnimplementedEmailServiceServer) mustEmbedUnimplementedEmailServ... method testEmbeddedByValue (line 923) | func (UnimplementedEmailServiceServer) testEmbeddedByValue() ... type UnsafeEmailServiceServer (line 928) | type UnsafeEmailServiceServer interface function RegisterEmailServiceServer (line 932) | func RegisterEmailServiceServer(s grpc.ServiceRegistrar, srv EmailServic... function _EmailService_SendOrderConfirmation_Handler (line 943) | func _EmailService_SendOrderConfirmation_Handler(srv interface{}, ctx co... constant CheckoutService_PlaceOrder_FullMethodName (line 978) | CheckoutService_PlaceOrder_FullMethodName = "/hipstershop.CheckoutServic... type CheckoutServiceClient (line 984) | type CheckoutServiceClient interface type checkoutServiceClient (line 988) | type checkoutServiceClient struct method PlaceOrder (line 996) | func (c *checkoutServiceClient) PlaceOrder(ctx context.Context, in *Pl... function NewCheckoutServiceClient (line 992) | func NewCheckoutServiceClient(cc grpc.ClientConnInterface) CheckoutServi... type CheckoutServiceServer (line 1009) | type CheckoutServiceServer interface type UnimplementedCheckoutServiceServer (line 1019) | type UnimplementedCheckoutServiceServer struct method PlaceOrder (line 1021) | func (UnimplementedCheckoutServiceServer) PlaceOrder(context.Context, ... method mustEmbedUnimplementedCheckoutServiceServer (line 1024) | func (UnimplementedCheckoutServiceServer) mustEmbedUnimplementedChecko... method testEmbeddedByValue (line 1025) | func (UnimplementedCheckoutServiceServer) testEmbeddedByValue() ... type UnsafeCheckoutServiceServer (line 1030) | type UnsafeCheckoutServiceServer interface function RegisterCheckoutServiceServer (line 1034) | func RegisterCheckoutServiceServer(s grpc.ServiceRegistrar, srv Checkout... function _CheckoutService_PlaceOrder_Handler (line 1045) | func _CheckoutService_PlaceOrder_Handler(srv interface{}, ctx context.Co... constant AdService_GetAds_FullMethodName (line 1080) | AdService_GetAds_FullMethodName = "/hipstershop.AdService/GetAds" type AdServiceClient (line 1086) | type AdServiceClient interface type adServiceClient (line 1090) | type adServiceClient struct method GetAds (line 1098) | func (c *adServiceClient) GetAds(ctx context.Context, in *AdRequest, o... function NewAdServiceClient (line 1094) | func NewAdServiceClient(cc grpc.ClientConnInterface) AdServiceClient { type AdServiceServer (line 1111) | type AdServiceServer interface type UnimplementedAdServiceServer (line 1121) | type UnimplementedAdServiceServer struct method GetAds (line 1123) | func (UnimplementedAdServiceServer) GetAds(context.Context, *AdRequest... method mustEmbedUnimplementedAdServiceServer (line 1126) | func (UnimplementedAdServiceServer) mustEmbedUnimplementedAdServiceSer... method testEmbeddedByValue (line 1127) | func (UnimplementedAdServiceServer) testEmbeddedByValue() ... type UnsafeAdServiceServer (line 1132) | type UnsafeAdServiceServer interface function RegisterAdServiceServer (line 1136) | func RegisterAdServiceServer(s grpc.ServiceRegistrar, srv AdServiceServe... function _AdService_GetAds_Handler (line 1147) | func _AdService_GetAds_Handler(srv interface{}, ctx context.Context, dec... FILE: src/shippingservice/main.go constant defaultPort (line 37) | defaultPort = "50051" function init (line 42) | func init() { function main (line 56) | func main() { type server (line 105) | type server struct method Check (line 110) | func (s *server) Check(ctx context.Context, req *healthpb.HealthCheckR... method Watch (line 114) | func (s *server) Watch(req *healthpb.HealthCheckRequest, ws healthpb.H... method GetQuote (line 119) | func (s *server) GetQuote(ctx context.Context, in *pb.GetQuoteRequest)... method ShipOrder (line 142) | func (s *server) ShipOrder(ctx context.Context, in *pb.ShipOrderReques... function initStats (line 155) | func initStats() { function initTracing (line 159) | func initTracing() { function initProfiling (line 163) | func initProfiling(service, version string) { FILE: src/shippingservice/quote.go type Quote (line 23) | type Quote struct method String (line 29) | func (q Quote) String() string { function CreateQuoteFromCount (line 34) | func CreateQuoteFromCount(count int) Quote { function CreateQuoteFromFloat (line 42) | func CreateQuoteFromFloat(value float64) Quote { FILE: src/shippingservice/shippingservice_test.go function TestGetQuote (line 27) | func TestGetQuote(t *testing.T) { function TestGetQuoteEmptyCart (line 60) | func TestGetQuoteEmptyCart(t *testing.T) { function TestShipOrder (line 83) | func TestShipOrder(t *testing.T) { function TestTrackingIdFormat (line 116) | func TestTrackingIdFormat(t *testing.T) { function TestTrackingIdUniqueness (line 128) | func TestTrackingIdUniqueness(t *testing.T) { function TestCreateQuoteFromFloat (line 140) | func TestCreateQuoteFromFloat(t *testing.T) { function TestCreateQuoteFromCount (line 166) | func TestCreateQuoteFromCount(t *testing.T) { function TestGetRandomLetterCode (line 179) | func TestGetRandomLetterCode(t *testing.T) { function TestGetRandomNumber (line 189) | func TestGetRandomNumber(t *testing.T) { function TestQuoteString (line 200) | func TestQuoteString(t *testing.T) { FILE: src/shippingservice/tracker.go function CreateTrackingId (line 23) | func CreateTrackingId(salt string) string { function getRandomLetterCode (line 35) | func getRandomLetterCode() uint32 { function getRandomNumber (line 40) | func getRandomNumber(digits int) string { FILE: src/shoppingassistantservice/shoppingassistantservice.py function create_app (line 62) | def create_app():