|
|
t.Fatalf("genWireguard = %s, want nil for a keyless wireguard client", raw)
|
|
t.Fatalf("genWireguard = %s, want nil for a keyless wireguard client", raw)
|
|
|
|
|
+ if got := NewSubJsonService("", "", "", nil).getConfig(&SubService{address: "sub.example.com"}, &model.Inbound{Listen: "203.0.113.8", Port: 51820, Protocol: model.AmneziaWG}, model.Client{}, "sub.example.com"); len(got) != 0 {
|