Documentation ¶
Index ¶
- type HttpServer
- func (svr *HttpServer) ConnectRemoteSSH() (err error)
- func (svr *HttpServer) IoBind(src, dst net.Conn, fnClose func(err error))
- func (svr *HttpServer) ListenTCP() (err error)
- func (svr *HttpServer) OutToTCP(address string, inConn *net.Conn, req *http.HTTPRequest) (err error)
- func (svr *HttpServer) Run() (err error)
- func (svr *HttpServer) Shutdown()
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()
Click to show internal directories.
Click to hide internal directories.