ipfilter

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Factory = ipfilter.NewFactory[uint, uint]().SetGroupGetter(groupGetter)

Functions

func IsAllowed

func IsAllowed(ctx echo.Context, user *dbschema.NgingFtpUser, ip netip.Addr) bool

func Validate

func Validate(ctx echo.Context, ip string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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