http

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleConn added in v1.0.0

func HandleConn(conn net.Conn, cache *cache.Cache)

Types

type HttpListener added in v0.10.0

type HttpListener struct {
	net.Listener
	// contains filtered or unexported fields
}

func NewHttpProxy

func NewHttpProxy(addr string) (*HttpListener, error)

func (*HttpListener) Address added in v0.10.0

func (l *HttpListener) Address() string

func (*HttpListener) Close added in v0.10.0

func (l *HttpListener) Close()

Jump to

Keyboard shortcuts

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