http

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is the honeypot HTTP server.

func New

func New(s *scenario.Scenario, nodeID string, emitters []interfaces.Emitter) *Server

New creates a new honeypot HTTP server.

func (*Server) Handler

func (s *Server) Handler() http.Handler

Handler returns the http.Handler for the server.

Jump to

Keyboard shortcuts

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