Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
nftban-core
command
|
|
|
nftban-ui
command
|
|
|
nftban-ui-auth
command
|
|
|
nftband
command
|
|
|
internal
|
|
|
authproto
Package authproto defines shared authentication protocol types Used by both pkg/auth and cmd/nftban-ui-auth to ensure consistency
|
Package authproto defines shared authentication protocol types Used by both pkg/auth and cmd/nftban-ui-auth to ensure consistency |
|
pkg
|
|
|
api
Package api provides HTTP API handlers for NFTBan
|
Package api provides HTTP API handlers for NFTBan |
|
banlog
Package banlog provides centralized ban logging for NFTBan All ban actions (from any source) should log here for stats tracking
|
Package banlog provides centralized ban logging for NFTBan All ban actions (from any source) should log here for stats tracking |
|
logx
Package logx provides structured logging wrappers for NFTBan This centralizes log prefixes and makes future enhancements (JSON logs, levels) easier
|
Package logx provides structured logging wrappers for NFTBan This centralizes log prefixes and makes future enhancements (JSON logs, levels) easier |
|
metrics
Package metrics provides Prometheus metrics for NFTBan operations This file contains application-level metrics for ban/unban operations, feed loading, sync operations, and authentication
|
Package metrics provides Prometheus metrics for NFTBan operations This file contains application-level metrics for ban/unban operations, feed loading, sync operations, and authentication |
|
netutil
Package netutil provides network utility functions for NFTBan Centralizes IP address handling, whitelist checking, and CIDR operations
|
Package netutil provides network utility functions for NFTBan Centralizes IP address handling, whitelist checking, and CIDR operations |
|
sync
Package sync provides nftables synchronization utilities
|
Package sync provides nftables synchronization utilities |
|
system
Package system provides unified system lookup utilities
|
Package system provides unified system lookup utilities |
|
version
Package version provides centralized version information for NFTBan.
|
Package version provides centralized version information for NFTBan. |
Click to show internal directories.
Click to hide internal directories.