make proxy optional

This commit is contained in:
Abhishek Kondur
2022-11-20 09:35:29 +05:30
parent c54080e150
commit f95306ddbd
19 changed files with 294 additions and 167 deletions

View File

@@ -56,6 +56,7 @@ type Config struct {
// Proxy - WireguardProxy proxies
type Proxy struct {
Status bool
Ctx context.Context
Cancel context.CancelFunc