Categorygithub.com/curtisnewbie/tcp-proxy
modulepackage
0.0.1
Repository: https://github.com/curtisnewbie/tcp-proxy.git
Documentation: pkg.go.dev

# README

tcp-proxy

Simple TCP proxy that was originally designed and used to explore redis RESP protocol. It may be useful for other scenarios as well.

E.g., Use it as the middle-man between redis server and redis-cli to log the transferred messages between the two.

# redis-server runnning on port 6379

# run tcp-proxy on 6378, and proxy traffic between the client and the redis-server
go run . -port=6378 -proxy-port=6379 -proxy-host=localhost

# client connects to 6378, the proxy
# redis-cli -p 6378

E.g., For MySQL

tcp-proxy -proxy-port=3306 -port=3307

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author