http

package
v0.0.0-...-efaec8f Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpServer

type HttpServer struct {
	netflow.Netflow

	Options  config.NodeConfig
	Listener net.Listener
	// contains filtered or unexported fields
}

func NewHttpServer

func NewHttpServer(opts config.NodeConfig) (svr *HttpServer)

func (*HttpServer) ConnectRemoteSSH

func (svr *HttpServer) ConnectRemoteSSH() (err error)

func (*HttpServer) IoBind

func (svr *HttpServer) IoBind(src, dst net.Conn, fnClose func(err error))

func (*HttpServer) ListenTCP

func (svr *HttpServer) ListenTCP() (err error)

func (*HttpServer) OutToTCP

func (svr *HttpServer) OutToTCP(address string, inConn *net.Conn, req *http.HTTPRequest) (err error)

func (*HttpServer) Run

func (svr *HttpServer) Run() (err error)

func (*HttpServer) Shutdown

func (svr *HttpServer) Shutdown()

Jump to

Keyboard shortcuts

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