api

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	Sessions      *aitm.SessionService
	Lures         *aitm.LureService
	Phishlets     *aitm.PhishletService
	Blacklist     *aitm.BlacklistService
	Botguard      *aitm.BotGuardService
	Notifications *aitm.NotificationService
	Operators     *aitm.OperatorService
	DNS           *aitm.DNSService
	HTTPSPort     int // Included in lure URLs when non-standard (not 443)
	Version       string
	Logger        *slog.Logger
	// contains filtered or unexported fields
}

Router is the HTTP handler for the management API.

func (*Router) ServeHTTP

func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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