Commit Graph

9 Commits

Author SHA1 Message Date
Chlins Zhang d0bfdd4e77
refactor: modernize the code by new features provided by golang stand… (#3963)
refactor: modernize the code by new features provided by golang standard library

Signed-off-by: chlins <chlins.zhang@gmail.com>
2025-04-17 07:48:42 +00:00
Gaius 7bcbac9d61
refactor: get task job and delete task job (#3522)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-20 15:58:04 +08:00
Gaius 4846f6a56d
feat: add difference function for slices (#2984)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-29 16:22:08 +08:00
Min b9c25f8c37
feat:add cache about networktopology (#2924)
Signed-off-by: huangmin <2107139596@qq.com>
2023-12-29 15:24:15 +08:00
Gaius 1da355018b
feat: implement FindProbedHosts and add LoadRandomHosts to host manager (#2519)
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: XZ <834756128@qq.com>
Co-authored-by: dlut_xz <52518280+fcgxz2003@users.noreply.github.com>
2023-07-06 10:56:52 +08:00
Gaius 72ac0c0adf
feat: add Reverse function to slice (#2381)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:53 +08:00
Gaius 5bcb53f0a9
feat: grpc consistent hashing (#1554)
Signed-off-by: Gaius <gaius.qi@gmail.com>
Co-authored-by: bigerous <bigerous@qq.com>
2023-06-28 17:33:44 +08:00
Gaius e74a05685e
fix: infinite loop in peer.Ancestors() (#1469)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:36 +08:00
Gaius 9b7e8d70c8
feat: add slices util package
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:35 +08:00