Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Connections uint `json:"connections"` Good uint `json:"good"` Bad uint `json:"bad"` }
Data used to pack IP address history in file
type Storage ¶
type Storage struct {
Directory string
}
Storage saves IP address history into files
func (*Storage) Get ¶
func (f *Storage) Get(transaction *msmtpd.Transaction) (int, error)
Get gets karma score for transaction IP address
Click to show internal directories.
Click to hide internal directories.