http

package
v0.0.0-...-d1f8a93 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2018 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.TunnelServer
	// contains filtered or unexported fields
}

func StartHttpServer

func StartHttpServer(address string) (HttpServer, error)

func (HttpServer) Close

func (s HttpServer) Close()

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