mixed

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: GPL-3.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMixedServer added in v0.8.1

func NewMixedServer(s string, p proxy.Proxy) (proxy.Server, error)

NewMixedServer returns a mixed server.

Types

type Mixed added in v0.8.1

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

Mixed struct.

func NewMixed added in v0.8.1

func NewMixed(s string, p proxy.Proxy) (*Mixed, error)

NewMixed returns a mixed proxy.

func (*Mixed) ListenAndServe added in v0.8.1

func (m *Mixed) ListenAndServe()

ListenAndServe listens on server's addr and serves connections.

func (*Mixed) Serve added in v0.8.1

func (m *Mixed) Serve(c net.Conn)

Serve serves connections.

Jump to

Keyboard shortcuts

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