Documentation
¶
Overview ¶
Package proxy provides proxy service and redirects requests form proxy.Addr to remote.Addr.
Package proxy provides proxy service and redirects requests form proxy.Addr to remote.Addr.
Index ¶
Constants ¶
const ( // Query - Query message. Query = 'Q' // Bind Bind = 'P' )
Variables ¶
This section is empty.
Functions ¶
func ResultFormater ¶
Parse exec's results and formate it,then will be print in command line such as: OK, [n] rows affected else error
func RowsFormater ¶
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