Unified ServeSegments

This commit is contained in:
Eden Kirin
2023-03-22 23:09:54 +01:00
parent 1d26d6625e
commit 1542bd98c2
38 changed files with 1217 additions and 1743 deletions

View File

@ -7,10 +7,7 @@
@startuml
participant FE as "Frontend" << React >>
participant Funnel as "Funnel" << Python >>
participant Hours as "ServeHours" << Go >>
participant Minutes as "ServeMinutes" << Go >>
participant Seconds as "ServeSeconds" << Go >>
participant Milliseconds as "ServeMilliseconds" << Go >>
participant Segments as "ServeSegments" << Go >>
participant CurrentTime as "ServeCurrentTime" << NodeJS >>
activate FE #hotpink
@ -19,30 +16,30 @@ activate FE #hotpink
loop #ivory
activate Funnel #gold
Funnel -> Hours: GetHours()
activate Hours #skyblue
Hours -> CurrentTime: GetCurrentTime()
Funnel -> Segments: GetHours()
activate Segments #skyblue
Segments -> CurrentTime: GetCurrentTime()
activate CurrentTime #sandybrown
return HH:MM:SS.ms
return HH
Funnel -> Minutes: GetMinutes()
activate Minutes #skyblue
Minutes -> CurrentTime: GetCurrentTime()
Funnel -> Segments: GetMinutes()
activate Segments #skyblue
Segments -> CurrentTime: GetCurrentTime()
activate CurrentTime #sandybrown
return HH:MM:SS.ms
return MM
Funnel -> Seconds: GetSeconds()
activate Seconds #skyblue
Seconds -> CurrentTime: GetCurrentTime()
Funnel -> Segments: GetSeconds()
activate Segments #skyblue
Segments -> CurrentTime: GetCurrentTime()
activate CurrentTime #sandybrown
return HH:MM:SS.ms
return SS
Funnel -> Milliseconds: GetMilliseconds()
activate Milliseconds #skyblue
Milliseconds -> CurrentTime: GetCurrentTime()
Funnel -> Segments: GetMilliseconds()
activate Segments #skyblue
Segments -> CurrentTime: GetCurrentTime()
activate CurrentTime #sandybrown
return HH:MM:SS.ms
return ms
@ -61,10 +58,7 @@ deactivate FE
| -- | -- | -- |
| Funnel | Python | - |
| ServeCurrentTime | NodeJS | 50000 |
| ServeHours | Go | 50001 |
| ServeMinutes | Go | 50002 |
| ServeSeconds | Go | 50003 |
| ServeMilliseconds | Go | 50004 |
| ServeSegments | Go | 50001 |
### Funnel