tcpforward

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAddr

func ParseAddr(addr string) (string, uint32, error)

Types

type TCPForward

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

TCPForward Handling for a single incoming connection

func (*TCPForward) Cancel

func (s *TCPForward) Cancel(ctx context.Context, req *ssh.Request, serverConn *sshd.ServerConn)

func (*TCPForward) Forward

func (s *TCPForward) Forward(ctx context.Context, req *ssh.Request, serverConn *sshd.ServerConn)

Jump to

Keyboard shortcuts

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