bjdgyc / anylink

AnyLink是一个企业级远程办公 ssl vpn 软件,可以支持多人同时在线使用。基于 openconnect 协议开发,并且借鉴了 ocserv 的开发思路,可以完全兼容 AnyConnect 客户端。
GNU Affero General Public License v3.0
1.66k stars 398 forks source link

首页图表可查看用户组下的在线数、网络吞吐量 #138

Closed lanrenwo closed 2 years ago

lanrenwo commented 2 years ago

首页图表功能已开发完成,本次修改如下: 1、RT 2、优化用户组的图表存储方式,采用id值,节省硬盘空间; 3、增加图表的单元测试

image
codecov-commenter commented 2 years ago

Codecov Report

Base: 19.31% // Head: 22.77% // Increases project coverage by +3.46% :tada:

Coverage data is based on head (48bebad) compared to base (5586b27). Patch coverage: 26.92% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #138 +/- ## ========================================== + Coverage 19.31% 22.77% +3.46% ========================================== Files 58 58 Lines 3132 3152 +20 ========================================== + Hits 605 718 +113 + Misses 2423 2325 -98 - Partials 104 109 +5 ``` | [Impacted Files](https://codecov.io/gh/bjdgyc/anylink/pull/138?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc) | Coverage Δ | | |---|---|---| | [server/admin/api\_group.go](https://codecov.io/gh/bjdgyc/anylink/pull/138/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2FkbWluL2FwaV9ncm91cC5nbw==) | `0.00% <0.00%> (ø)` | | | [server/admin/server.go](https://codecov.io/gh/bjdgyc/anylink/pull/138/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2FkbWluL3NlcnZlci5nbw==) | `0.00% <0.00%> (ø)` | | | [server/sessdata/statsinfo.go](https://codecov.io/gh/bjdgyc/anylink/pull/138/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL3Nlc3NkYXRhL3N0YXRzaW5mby5nbw==) | `0.00% <0.00%> (ø)` | | | [server/dbdata/group.go](https://codecov.io/gh/bjdgyc/anylink/pull/138/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2RiZGF0YS9ncm91cC5nbw==) | `57.62% <70.00%> (+1.14%)` | :arrow_up: | | [server/dbdata/db\_orm.go](https://codecov.io/gh/bjdgyc/anylink/pull/138/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2RiZGF0YS9kYl9vcm0uZ28=) | `50.00% <0.00%> (+5.35%)` | :arrow_up: | | [server/dbdata/statsinfo.go](https://codecov.io/gh/bjdgyc/anylink/pull/138/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc#diff-c2VydmVyL2RiZGF0YS9zdGF0c2luZm8uZ28=) | `81.48% <0.00%> (+76.29%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=bjdgyc)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.