refactor: change port type to ushort

This commit is contained in:
ChsBuffer
2020-10-16 19:29:38 +08:00
parent 86a86a94d8
commit b2ac98b21f
8 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ namespace Netch.Servers.VMess.Models
{
public string tag { get; set; }
public int port { get; set; }
public ushort port { get; set; }
public string listen { get; set; }
@@ -92,7 +92,7 @@ namespace Netch.Servers.VMess.Models
{
public string address { get; set; }
public int port { get; set; }
public ushort port { get; set; }
public List<UsersItem> users { get; set; }
}
@@ -109,7 +109,7 @@ namespace Netch.Servers.VMess.Models
public string password { get; set; }
public int port { get; set; }
public ushort port { get; set; }
public int level { get; set; }