proxy

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: 7 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 *config.Config, store *storage.Store) Controller

func (*Controller) ListenAndServe

func (c *Controller) ListenAndServe()

type ControllerConfig

type ControllerConfig struct {
	Address     string
	Certificate tls.Certificate
	CertPool    *x509.CertPool
	CA          []byte
}

Directories

Path Synopsis
tun

Jump to

Keyboard shortcuts

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