tcpproxy

package
v3.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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 {
	Logger          *zap.Logger
	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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL