server

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRateLimitExceeded = errors.New("rate limit exceeded")
	ErrWrongIpAddress    = errors.New("could not parse the IP address")
)

Functions

This section is empty.

Types

type Limiter added in v0.3.4

type Limiter interface {
	Limit(ip string) error
}

type Locator added in v0.3.0

type Locator interface {
	GetIpInfo(ipString string) (ipInfo *domain.IpInfo, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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