Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mikaelemmmm/gozerodtm
/ types & classes
Types & classes
39 in github.com/Mikaelemmmm/gozerodtm
⨍
Functions
103
◇
Types & classes
39
Struct
Config
order-srv/internal/config/config.go:7
Struct
Config
stock-srv/internal/config/config.go:7
Struct
Config
order-api/internal/config/config.go:8
Struct
CreateLogic
order-srv/internal/logic/createLogic.go:19
Struct
CreateLogic
var dtmServer = "consul://127.0.0.1:8500/dtmservice"
order-api/internal/logic/createLogic.go:23
Struct
CreateReq
order-srv/pb/order.pb.go:27
Struct
CreateResp
order-srv/pb/order.pb.go:90
Struct
CreateRollbackLogic
order-srv/internal/logic/createRollbackLogic.go:20
Struct
DecuctReq
stock-srv/pb/stock.pb.go:27
Struct
DeductLogic
stock-srv/internal/logic/deductLogic.go:20
Struct
DeductResp
stock-srv/pb/stock.pb.go:82
Struct
DeductRollbackLogic
stock-srv/internal/logic/deductRollbackLogic.go:19
Interface
Order
order-srv/order/order.go:19
Struct
Order
order-srv/internal/model/ordermodel.go:33
Interface
OrderClient
OrderClient is the client API for Order service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/go
order-srv/pb/order.pb.go:239
Interface
OrderModel
order-srv/internal/model/ordermodel.go:22
Interface
OrderServer
OrderServer is the server API for Order service.
order-srv/pb/order.pb.go:271
Struct
OrderServer
order-srv/internal/server/orderServer.go:14
Struct
QuickCreateReq
order-api/internal/types/types.go:4
Struct
QuickCreateResp
order-api/internal/types/types.go:10
Struct
ServiceContext
order-srv/internal/svc/serviceContext.go:9
Struct
ServiceContext
stock-srv/internal/svc/serviceContext.go:9
Struct
ServiceContext
order-api/internal/svc/serviceContext.go:10
Interface
Stock
stock-srv/stock/stock.go:19
Struct
Stock
stock-srv/internal/model/stockmodel.go:29
Interface
StockClient
StockClient is the client API for Stock service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/go
stock-srv/pb/stock.pb.go:229
Interface
StockModel
stock-srv/internal/model/stockmodel.go:18
Interface
StockServer
StockServer is the server API for Stock service.
stock-srv/pb/stock.pb.go:261
Struct
StockServer
stock-srv/internal/server/stockServer.go:14
Struct
UnimplementedOrderServer
UnimplementedOrderServer can be embedded to have forward compatible implementations.
order-srv/pb/order.pb.go:277
Struct
UnimplementedStockServer
UnimplementedStockServer can be embedded to have forward compatible implementations.
stock-srv/pb/stock.pb.go:267
Struct
defaultOrder
order-srv/order/order.go:24
Struct
defaultOrderModel
order-srv/internal/model/ordermodel.go:28
Struct
defaultStock
stock-srv/stock/stock.go:24
Struct
defaultStockModel
stock-srv/internal/model/stockmodel.go:24
Struct
orderClient
order-srv/pb/order.pb.go:244
Struct
stockClient
stock-srv/pb/stock.pb.go:234
Struct
x
order-srv/pb/order.pb.go:208
Struct
x
stock-srv/pb/stock.pb.go:198