blockedips

package
v0.0.0-...-4be01c1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockedIP

type BlockedIP struct {
	Address string `json:"addr"`
	Count   int    `json:"count"`
}

type Checker

type Checker interface {
	Step(timeutil.TimeInterval, func(SummaryResult) error) error
}

type SummaryResult

type SummaryResult struct {
	Interval    timeutil.TimeInterval `json:"time_interval"`
	TopIPs      []BlockedIP           `json:"top_ips"`
	TotalNumber int                   `json:"total_number"`
	TotalIPs    int                   `json:"total_ips"`
}

Jump to

Keyboard shortcuts

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