mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
20 lines
330 B
Plaintext
20 lines
330 B
Plaintext
@startuml
|
|
|
|
actor User as u
|
|
collections LOMS as l
|
|
database OrdersStorage as os
|
|
|
|
u -> l : gRPC Loms.OrderInfo\n\t- orderID int64
|
|
activate l
|
|
|
|
l -> os : order.GetByID()
|
|
alt order exists
|
|
l -> u : Response: OK (code_id=0)\n\t- status\n\t- user\n\t- []items{}
|
|
else
|
|
l -> u : Response: Not Found (code_id=5)
|
|
end
|
|
|
|
deactivate l
|
|
|
|
@enduml
|