sftpproxy

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	ListenAddr        string
	UpstreamAddr      string
	Client            net.Conn
	Server            net.Conn
	ReconnectionCount atomic.Int32
	Listener          net.Listener
}

func (*Proxy) Close

func (p *Proxy) Close()

func (*Proxy) KillServerConn

func (p *Proxy) KillServerConn() error

func (*Proxy) ListenAndServe

func (p *Proxy) ListenAndServe() error

Jump to

Keyboard shortcuts

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