proxy

package
v0.0.0-...-602f3a8 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MuxHandler

func MuxHandler(w net.Conn)

Types

type KCPProxy

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

func (*KCPProxy) Handler

func (p *KCPProxy) Handler(conn net.Conn)

func (*KCPProxy) StartProxyServer

func (p *KCPProxy) StartProxyServer()

func (*KCPProxy) StopProxyServer

func (p *KCPProxy) StopProxyServer()

type Proxy

type Proxy interface {
	StartProxyServer()
	StopProxyServer()
	Handler(conn net.Conn)
}

func NewProxy

func NewProxy() Proxy

type TCPProxy

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

func (*TCPProxy) Handler

func (p *TCPProxy) Handler(conn net.Conn)

func (*TCPProxy) StartProxyServer

func (p *TCPProxy) StartProxyServer()

func (*TCPProxy) StopProxyServer

func (p *TCPProxy) StopProxyServer()

type WSProxy

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

func (*WSProxy) Handler

func (p *WSProxy) Handler(conn net.Conn)

func (*WSProxy) StartProxyServer

func (p *WSProxy) StartProxyServer()

func (*WSProxy) StopProxyServer

func (p *WSProxy) StopProxyServer()

Jump to

Keyboard shortcuts

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