Documentation ¶
Index ¶
Constants ¶
View Source
const DownloadLocation = "/tmp/myipms_full.zip"
Location to download list
View Source
const MyIpMsUrl = "https://myip.ms/files/blacklist/general/full_blacklist_database.zip"
URL to retrieve this list
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostList ¶
type HostList interface { UpdateList(c chan datatypes.BlacklistHost) error ValidList(MetaData) bool Name() string MetaData() MetaData }
Interface for processing blacklist sources
func GetAvailableHostLists ¶
func GetAvailableHostLists() []HostList
Return a list of available blacklist sources
type MyIpMs ¶
type MyIpMs struct { }
func (*MyIpMs) UpdateList ¶
func (m *MyIpMs) UpdateList(c chan datatypes.BlacklistHost) error
Update the list of blacklisted sources.
Click to show internal directories.
Click to hide internal directories.