https

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 HttpsDialer

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

func GetHttpsDialer

func GetHttpsDialer() HttpsDialer

func (HttpsDialer) Dial

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

func (HttpsDialer) Protocol

func (d HttpsDialer) Protocol() tcommon.TunnelProtocol

type HttpsServer

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

func StartHttpsServer

func StartHttpsServer(crt, key, address string) (HttpsServer, error)

func (HttpsServer) Close

func (s HttpsServer) Close() error

func (HttpsServer) HandleConnection

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

func (HttpsServer) SetServer

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

func (HttpsServer) WaitingForConnection

func (s HttpsServer) WaitingForConnection()

Jump to

Keyboard shortcuts

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