controller

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Network    string
	Connection chan net.Conn

	ControllerConfig
	// contains filtered or unexported fields
}

func New

func New(config ControllerConfig) Controller

func (*Controller) GetSelfCertificateSignature added in v0.8.1

func (c *Controller) GetSelfCertificateSignature() (*tls.Certificate, error)

func (*Controller) ListenAndServe

func (c *Controller) ListenAndServe()

func (*Controller) WaitForFinished added in v0.8.1

func (c *Controller) WaitForFinished() error

func (*Controller) WaitForReady

func (c *Controller) WaitForReady() error

type ControllerConfig

type ControllerConfig struct {
	Address           string
	CertManagerConfig *tlsutils.CertManagerConfig
	// contains filtered or unexported fields
}

type LigoloAgent

type LigoloAgent struct {
	Name      string
	Network   []protocol.NetInterface
	Session   *yamux.Session
	SessionID string
	CloseChan chan bool `json:"-"`
	Interface string
	Running   bool
	Listeners []*proxy.LigoloListener
}

func NewAgent

func NewAgent(session *yamux.Session) (*LigoloAgent, error)

func (*LigoloAgent) AddListener added in v0.7.3

func (la *LigoloAgent) AddListener(addr string, network string, to string) (*proxy.LigoloListener, error)

func (*LigoloAgent) Alive added in v0.8.1

func (la *LigoloAgent) Alive() bool

func (*LigoloAgent) DeleteListener added in v0.7.3

func (la *LigoloAgent) DeleteListener(id int)

func (*LigoloAgent) GetListener added in v0.7.3

func (la *LigoloAgent) GetListener(id int) *proxy.LigoloListener

func (*LigoloAgent) Kill added in v0.8.1

func (la *LigoloAgent) Kill() error

func (*LigoloAgent) MarshalJSON added in v0.8.1

func (la *LigoloAgent) MarshalJSON() ([]byte, error)

func (*LigoloAgent) String

func (la *LigoloAgent) String() string

Jump to

Keyboard shortcuts

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