Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/transactional-microservice-examples
/ functions
Functions
103 in github.com/GoogleCloudPlatform/transactional-microservice-examples
⨍
Functions
103
◇
Types & classes
0
↳
Endpoints
29
↓ 8 callers
Function
error500
()
services/customer-async/main.py:30
↓ 7 callers
Function
error500
()
services/order-async/main.py:31
↓ 6 callers
Function
error500
()
services/customer-sync/main.py:25
↓ 6 callers
Function
useCustomer
()
frontend/src/context/CustomerContext.tsx:58
↓ 5 callers
Function
error500
()
services/order-sync/main.py:27
↓ 5 callers
Function
error500
()
cqrs/services/orderinfo/main.py:38
↓ 5 callers
Function
post
(url: string, token: string, payload: K)
frontend/src/hooks/apis.ts:42
↓ 5 callers
Function
useApi
()
frontend/src/hooks/apis.ts:36
↓ 5 callers
Function
useIdentityToken
()
frontend/src/context/IdentityTokenContext.tsx:58
↓ 4 callers
Function
isAuthenticated
()
frontend/src/components/RouterConfig.tsx:29
↓ 4 callers
Function
totalPrice
(items: CartItem[])
frontend/src/data.ts:96
↓ 3 callers
Function
adjustNumberToPrice
(num: number)
frontend/src/pages/Profile.tsx:50
↓ 3 callers
Function
error500
()
cqrs/services/product/main.py:27
↓ 3 callers
Function
getPrice
(id: number)
frontend/src/data.ts:93
↓ 3 callers
Function
useCartItemsDispatch
()
frontend/src/context/CartContext.tsx:87
↓ 3 callers
Function
useOrdersDispatch
()
frontend/src/context/OrdersContext.tsx:80
↓ 2 callers
Function
error500
()
services/order-processor/main.py:29
↓ 2 callers
Function
getImageUrl
(id: number)
frontend/src/data.ts:87
↓ 2 callers
Function
getName
(id: number)
frontend/src/data.ts:90
↓ 2 callers
Function
isLoading
()
frontend/src/pages/Checkout.tsx:46
↓ 2 callers
Function
resetCart
()
frontend/src/pages/Checkout.tsx:61
↓ 2 callers
Function
useCartItems
()
frontend/src/context/CartContext.tsx:86
↓ 1 callers
Function
addToCart
(id: number)
frontend/src/pages/Checkout.tsx:53
↓ 1 callers
Function
createCustomer
(req: CreateCustomerRequest, token: string)
frontend/src/hooks/apis.ts:82
↓ 1 callers
Function
error500
()
cqrs/services/order/main.py:31
↓ 1 callers
Function
fetchCustomerInformation
()
frontend/src/pages/Profile.tsx:34
↓ 1 callers
Function
generateRandomCustomerId
()
frontend/src/pages/First.tsx:50
↓ 1 callers
Function
getCustomer
(req: GetCustomerRequest, token: string)
frontend/src/hooks/apis.ts:196
↓ 1 callers
Function
getOrderAsync
(req: GetOrderRequest, token: string)
frontend/src/hooks/apis.ts:112
↓ 1 callers
Function
getRandomInt
(max: number)
frontend/src/pages/First.tsx:48
↓ 1 callers
Function
get_access_token
(scopes='https://www.googleapis.com/auth/cloud-platform')
services/order-processor/main.py:36
↓ 1 callers
Function
get_callback
(future, result)
services/event-publisher/main.py:44
↓ 1 callers
Function
handleClickUpdateOrder
( orderId: string, id: number, )
frontend/src/pages/Orders.tsx:40
↓ 1 callers
Function
isCompleted
(isAsync: boolean, status: string)
frontend/src/pages/Orders.tsx:37
↓ 1 callers
Function
isError
()
frontend/src/pages/Checkout.tsx:49
↓ 1 callers
Function
isUnauthorizedError
()
frontend/src/pages/Checkout.tsx:47
↓ 1 callers
Function
removeFromCart
(id: number)
frontend/src/pages/Checkout.tsx:57
↓ 1 callers
Function
showCopyFailureMessage
()
frontend/src/pages/First.tsx:82
↓ 1 callers
Function
showCopySuccessMessage
()
frontend/src/pages/First.tsx:70
↓ 1 callers
Function
submitOrderAsync
(req: SubmitOrderRequest, token: string)
frontend/src/hooks/apis.ts:142
↓ 1 callers
Function
submitOrderSync
(req: SubmitOrderRequest, token: string)
frontend/src/hooks/apis.ts:167
↓ 1 callers
Function
useCreateCustomer
()
frontend/src/hooks/apis.ts:76
↓ 1 callers
Function
useGetCustomer
()
frontend/src/hooks/apis.ts:190
↓ 1 callers
Function
useGetOrderAsync
()
frontend/src/hooks/apis.ts:106
↓ 1 callers
Function
useOrders
()
frontend/src/context/OrdersContext.tsx:79
↓ 1 callers
Function
useSubmitOrderAsync
()
frontend/src/hooks/apis.ts:136
↓ 1 callers
Function
useSubmitOrderSync
()
frontend/src/hooks/apis.ts:161
Function
App
()
frontend/src/App.tsx:23
Function
Cart
()
frontend/src/components/Cart.tsx:19
Function
CartProvider
({ children }: Props)
frontend/src/context/CartContext.tsx:74
Function
Checkout
()
frontend/src/pages/Checkout.tsx:26
Function
CustomerProvider
({ children }: Props)
frontend/src/context/CustomerContext.tsx:41
Function
First
()
frontend/src/pages/First.tsx:26
Function
Footer
()
frontend/src/components/Footer.tsx:15
Function
IdentityTokenProvider
({ children }: Props)
frontend/src/context/IdentityTokenContext.tsx:41
Function
InvalidTokenError
()
frontend/src/components/InvalidTokenError.tsx:17
Function
Navbar
({ children }: Props)
frontend/src/components/Navbar.tsx:24
Function
Orders
()
frontend/src/pages/Orders.tsx:26
Function
OrdersProvider
({ children }: Props)
frontend/src/context/OrdersContext.tsx:68
Function
Product
({ product }: Props)
frontend/src/components/Product.tsx:23
Function
Products
({ products }: Props)
frontend/src/components/Products.tsx:22
Function
Profile
()
frontend/src/pages/Profile.tsx:25
Function
RouterConfig
()
frontend/src/components/RouterConfig.tsx:25
Function
Shop
()
frontend/src/pages/Shop.tsx:19
Function
callback
(future)
services/event-publisher/main.py:45
Function
cartItemsReducer
(cartItems: CartItem[], action: ACTIONTYPE)
frontend/src/context/CartContext.tsx:42
Function
customer_get
()
services/customer-sync/main.py:39
Function
customer_get
()
services/customer-async/main.py:44
Function
customer_limit
()
services/customer-sync/main.py:69
Function
customer_limit
()
services/customer-async/main.py:74
Function
customer_pubsub
()
services/customer-async/main.py:120
Function
customer_reserve
()
services/customer-sync/main.py:116
Function
error500
()
services/event-publisher/main.py:29
Function
handleClickCopyToClipboard
()
frontend/src/pages/First.tsx:94
Function
handleClickProceed
()
frontend/src/pages/First.tsx:53
Function
handleClickSubmitOrderAsync
()
frontend/src/pages/Checkout.tsx:62
Function
handleClickSubmitOrderSync
()
frontend/src/pages/Checkout.tsx:85
Function
handleClickToCart
()
frontend/src/components/Product.tsx:27
Function
handleTokenChange
(e: FormEvent<HTMLTextAreaElement>)
frontend/src/pages/First.tsx:39
Function
index
()
services/order-async/main.py:39
Function
index
()
services/customer-sync/main.py:33
Function
index
()
services/order-processor/main.py:45
Function
index
()
services/event-publisher/main.py:37
Function
index
()
services/order-sync/main.py:35
Function
index
()
services/customer-async/main.py:38
Function
index
()
cqrs/services/orderinfo/main.py:46
Function
index
()
cqrs/services/product/main.py:35
Function
index
()
cqrs/services/order/main.py:39
Function
order_create
()
services/order-async/main.py:45
Function
order_create
()
services/order-sync/main.py:41
Function
order_create
()
cqrs/services/order/main.py:45
Function
order_get
()
services/order-async/main.py:90
Function
order_get
()
services/order-sync/main.py:71
Function
order_get
()
cqrs/services/orderinfo/main.py:88
Function
order_list
()
cqrs/services/orderinfo/main.py:52
Function
order_process
()
services/order-processor/main.py:51
Function
order_pubsub
()
services/order-async/main.py:124
Function
order_pubsub
()
cqrs/services/orderinfo/main.py:126
Function
order_update
()
services/order-sync/main.py:105
Function
ordersReducer
(orders: Order[], action: ACTIONTYPE)
frontend/src/context/OrdersContext.tsx:51
next →
1–100 of 103, ranked by callers