tcpproxy

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2022 License: Apache-2.0 Imports: 7 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