mixed

package
v0.9.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMixedServer added in v0.9.3

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

NewMixedServer returns a mixed server.

Types

type Mixed added in v0.9.3

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

Mixed struct.

func NewMixed added in v0.9.3

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

NewMixed returns a mixed proxy.

func (*Mixed) ListenAndServe added in v0.9.3

func (m *Mixed) ListenAndServe()

ListenAndServe listens on server's addr and serves connections.

func (*Mixed) Serve added in v0.9.3

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