ipset

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const IPv4len = 4

Variables

This section is empty.

Functions

func IsAcceptedIP

func IsAcceptedIP(ip string, in_chn bool) bool

Types

type IPv4sec

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

func ReadIPset

func ReadIPset(file1, file2 string, f1mod, f2mod *time.Time, f1size, f2size *int64) (
	ret1ips []IPv4sec, ret2ips *ipdb.City, ret1err, ret2err error)

"chn_ip.txt"

Jump to

Keyboard shortcuts

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