Versions in this module Expand all Collapse all v1 v1.0.0 Oct 29, 2021 Changes in this version + func NewGrpcLoadBalanceHandler(lb *load_balance.LoadBalance) grpc.StreamHandler + func NewLoadBalanceReverseProxy(c *gin.Context, lb *load_balance.LoadBalance, trans *http.Transport) *httputil.ReverseProxy + type TcpReverseProxy struct + Addr string + DialContext func(ctx context.Context, network, address string) (net.Conn, error) + DialTimeout time.Duration + KeepAlivePeriod time.Duration + OnDialError func(src net.Conn, dstDialErr error) + ProxyProtocolVersion int + func NewTcpLoadBalanceReverseProxy(c *tcp_proxy_middleware.TcpSliceRouterContext, lb *load_balance.LoadBalance) *TcpReverseProxy + func (dp *TcpReverseProxy) ServeTCP(ctx context.Context, src net.Conn)