* refactor(worker): Move tcp_proxy into its own package This refactors: - the tcp_proxy.go into worker/proxy/tcp - add a missing unit test for the HandleTcpProxyV1 - refactors session.go into worker/session, needed to avoid import cycle - adds a baseline for a mock controller session client - go lint fixes * Add sleep between spinning listener goroutine and dialing Co-authored-by: Jeff Mitchell <jeffrey.mitchell@gmail.com>
5 lines
248 B
Go
5 lines
248 B
Go
// Package proxy contains a collection of proxy handlers for the worker to call once a
|
|
// connection has been authorized. Each proxy handler should mark the connection as
|
|
// connected once the proxy has successfully been established.
|
|
package proxy
|