agent

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	ID       int32
	Network  string
	From     string
	To       string
	Listener net.Listener
}

Listener is the base class implementing listener sockets for Ligolo

func NewListener

func NewListener(network string, from string, to string) (Listener, error)

NewListener register a new listener

func (*Listener) Close

func (s *Listener) Close() error

Close request the main listener to exit

func (*Listener) ListenAndRelay

func (s *Listener) ListenAndRelay() error

Jump to

Keyboard shortcuts

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