Simplify main.go

This commit is contained in:
Quentin McGaw
2020-09-12 19:17:19 +00:00
parent 464c7074d0
commit 1fc1776dbf
4 changed files with 84 additions and 95 deletions

View File

@@ -154,6 +154,7 @@ func (l *looper) Run(ctx context.Context, wg *sync.WaitGroup) {
continue
}
// Needs the stream line from main.go to know when the tunnel is up
go func(ctx context.Context) {
for {
select {