addr

package
v0.0.0-...-8118545 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFound = errors.New("target not found")
)

Functions

func RegularUpdate

func RegularUpdate(ctx context.Context, d time.Duration, wg *sync.WaitGroup)

Types

type IpItem

type IpItem struct {
	Start   *big.Int
	End     *big.Int
	Country string
}

type IpItems

type IpItems []IpItem

func Current

func Current() IpItems

func New

func New() IpItems

func (IpItems) Search

func (array IpItems) Search(target *big.Int, lowIndex int, highIndex int) (int, error)

Jump to

Keyboard shortcuts

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