Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicProxy ¶
DynamicProxy is an interface for components that can listen for TCP connections and, after accepting them, dynamically determine whether an L7 proxy (HTTP) or L4 proxy (plain TCP, with an assumption of TLS) is most appropriate. Implementations of this interface will delegate all further connection handling to the most appropriate proxy type.
func NewDynamicProxy ¶
func NewDynamicProxy( listenAddrStr string, l7StartProxyCallback http.L7StartProxyCallback, l7EndProxyCallback http.L7EndProxyCallback, l4StartProxyCallback l4StartProxyCallback, l4EndProxyCallback l4EndProxyCallback, ) (DynamicProxy, error)
NewDynamicProxy returns a DynamicProxy.
Click to show internal directories.
Click to hide internal directories.