feat(storage): add keep field for servers

This commit is contained in:
Quentin McGaw
2022-06-06 03:04:58 +00:00
parent 85e9d7d522
commit 5e659dc5b3
3 changed files with 57 additions and 10 deletions

View File

@@ -62,6 +62,7 @@ func Test_Server_Equal(t *testing.T) {
Stream: true,
PortForward: true,
IPs: []net.IP{net.IPv4(1, 2, 3, 4)},
Keep: true,
},
b: Server{
VPN: "vpn",
@@ -83,6 +84,7 @@ func Test_Server_Equal(t *testing.T) {
Stream: true,
PortForward: true,
IPs: []net.IP{net.IPv4(1, 2, 3, 4)},
Keep: true,
},
equal: true,
},