Back to

Package tcpproxy

Latest Go to latest

The latest major version is .

Published: May 20, 2020 | License: Apache-2.0 | Module:


Package tcpproxy is an OSI level 4 proxy for routing etcd clients to etcd servers.


type TCPProxy

type TCPProxy struct {
	Listener        net.Listener
	Endpoints       []*net.SRV
	MonitorInterval time.Duration
	// contains filtered or unexported fields

func (*TCPProxy) Run

func (tp *TCPProxy) Run() error

func (*TCPProxy) Stop

func (tp *TCPProxy) Stop()

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier