domain

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPInfo

type IPInfo struct {
	Address     string
	Score       IPScore
	Country     string
	Path        string
	PayloadPath string
	BlockedInFW bool
	Timestamp   time.Time
}

func (*IPInfo) GetSeverity

func (i *IPInfo) GetSeverity() Severity

func (*IPInfo) IsHighRisk

func (i *IPInfo) IsHighRisk() bool

type IPScore

type IPScore int
const (
	ScoreLow       IPScore = 25
	ScoreMedium    IPScore = 75
	ScoreHigh      IPScore = 100
	ScoreThreshold IPScore = 75
)

type Severity

type Severity int
const (
	SeverityLow Severity = iota
	SeverityMedium
	SeverityHigh
)

func (Severity) GetEmoji

func (s Severity) GetEmoji() string

func (Severity) String

func (s Severity) String() string

Jump to

Keyboard shortcuts

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