tcpproxy - ActiveState ActiveGo 1.8
...

Package tcpproxy

import "github.com/coreos/etcd/proxy/tcpproxy"
Overview
Index

Overview ▾

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