Documentation

Overview

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

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    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()