client

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCloseConn = errors.New("failed to close client connection")
)

Functions

This section is empty.

Types

type ClientConnection

type ClientConnection struct {
	// contains filtered or unexported fields
}

func NewClientConnection

func NewClientConnection(logger *zap.Logger, conn net.Conn, frontendTLSConfig *tls.Config, backendTLSConfig *tls.Config,
	hsHandler backend.HandshakeHandler, cpt capture.Capture, connID uint64, addr string, bcConfig *backend.BCConfig) *ClientConnection

func (*ClientConnection) Close

func (cc *ClientConnection) Close() error

func (*ClientConnection) GracefulClose

func (cc *ClientConnection) GracefulClose()

func (*ClientConnection) Run

func (cc *ClientConnection) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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