Add OpenVPN, TrustTunnel, Sudoku, inbound managers. Fixes

This commit is contained in:
Shtorm
2026-06-04 01:47:50 +03:00
parent 9b3da79c32
commit 195a33379d
164 changed files with 16665 additions and 1332 deletions

View File

@@ -83,7 +83,7 @@ func NewProviderRemote(ctx context.Context, router adapter.Router, logFactory lo
logger := logFactory.NewLogger(F.ToString("provider/remote", "[", tag, "]"))
updateChan := make(chan struct{})
close(updateChan)
return &ProviderRemote{
p := &ProviderRemote{
Adapter: provider.NewAdapter(ctx, router, outbound, logFactory, logger, tag, C.ProviderTypeRemote, options.HealthCheck),
ctx: ctx,
cancel: cancel,
@@ -97,7 +97,9 @@ func NewProviderRemote(ctx context.Context, router adapter.Router, logFactory lo
updateInterval: updateInterval,
exclude: (*regexp.Regexp)(options.Exclude),
include: (*regexp.Regexp)(options.Include),
}, nil
}
p.SetRemoveEmojis(options.RemoveEmojis)
return p, nil
}
func (s *ProviderRemote) Start() error {