http

package
v0.0.0-...-35843ba Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleConn

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

Types

type HTTPListener

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

func NewHTTPProxy

func NewHTTPProxy(addr string) (*HTTPListener, error)

func (*HTTPListener) Address

func (l *HTTPListener) Address() string

func (*HTTPListener) Close

func (l *HTTPListener) Close()

Jump to

Keyboard shortcuts

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