Skip to content

Commit

Permalink
#17 add testing line
Browse files Browse the repository at this point in the history
  • Loading branch information
thegodenage committed Apr 23, 2024
1 parent 6a3ca49 commit b34ea56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/tcpproxy/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"
"log"
"net"
"time"

"waffle/internal/proxy"
)
Expand All @@ -18,6 +19,9 @@ func main() {
}
}()

// just for testing
time.Sleep(time.Second * 1)

sender := proxy.NewTCPSender("127.0.0.1:8083", "127.0.0.1:8081")
receiver := proxy.NewTCPReceiver("127.0.0.1:8080", sender)

Expand Down

0 comments on commit b34ea56

Please sign in to comment.