pkg/

directory
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: MPL-2.0

Directories

Path Synopsis
Package api provides HTTP API handlers for NFTBan
Package api provides HTTP API handlers for NFTBan
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
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
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
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
Package sync provides nftables synchronization utilities
Package sync provides nftables synchronization utilities
Package system provides unified system lookup utilities
Package system provides unified system lookup utilities
Package version provides centralized version information for NFTBan.
Package version provides centralized version information for NFTBan.

Jump to

Keyboard shortcuts

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