package
0.0.0-20170502033211-e19ae27c28d7
Repository: https://github.com/wgliang/pgproxy.git
Documentation: pkg.go.dev

# Functions

New - Create a new Proxy instance.
Parse exec's results and formate it,then will be print in command line such as: OK, [n] rows affected else error.
Parse query's results and formate it,then will be print in command line such as: +---------+----------------+----------+ | ID | IP | NAME | +---------+----------------+----------+ | 1 | 180.17.95.2 | Jack | | 2 | 180.17.95.3 | Wong | | 3 | 180.17.95.4 | Lin | | 4 | 180.17.95.5 | Trump | +---------+----------------+----------+ else error.
Start proxy server needed receive and proxyHost, all the request or database's sql of receive will redirect to remoteHost.

# Structs

Proxy - Manages a Proxy connection, piping data between proxy and remote.