http

package
v0.0.0-...-d0f1447 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpDialer

type HttpDialer struct {
	tcommon.TunnelDialer
	// contains filtered or unexported fields
}

func GetHttpDialer

func GetHttpDialer() HttpDialer

func (HttpDialer) Dial

func (d HttpDialer) Dial(network, addr string) (c net.Conn, err error)

func (HttpDialer) Protocol

func (d HttpDialer) Protocol() tcommon.TunnelProtocol

type HttpServer

type HttpServer struct {
	tcommon.TunnelServerCommon
	// contains filtered or unexported fields
}

func StartHttpServer

func StartHttpServer(address string) (HttpServer, error)

func (HttpServer) Close

func (s HttpServer) Close() error

func (HttpServer) HandleConnection

func (s HttpServer) HandleConnection(conn net.Conn)

func (HttpServer) SetServer

func (s HttpServer) SetServer(ss icommon.TunnelInterfaceServer)

func (HttpServer) WaitingForConnection

func (s HttpServer) WaitingForConnection()

Jump to

Keyboard shortcuts

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