platform: Improve status

This commit is contained in:
世界
2023-08-04 17:13:46 +08:00
parent c40140bbae
commit 59987747e5
11 changed files with 64 additions and 39 deletions

View File

@@ -48,3 +48,7 @@ func Version() string {
func FormatBytes(length int64) string {
return humanize.IBytes(uint64(length))
}
func ProxyDisplayType(proxyType string) string {
return C.ProxyDisplayName(proxyType)
}