Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// BlacklistedUsers: list of all blacklisted usernames
BlacklistedUsers [][]string
// Activated: quota manager activation boolean
Activated bool `yaml:"activated"`
}
Manager data
func (*Manager) FilterScrappedUsers ¶
func (bm *Manager) FilterScrappedUsers(users []selenium.WebElement) []selenium.WebElement
FilterScrappedUsers remove blacklisted users from WebElement slice and return it
func (*Manager) InitializeBlacklist ¶
InitializeBlacklist check existence of the blacklist csv file and initialize it if it doesn't exist.
func (*Manager) IsBlacklisted ¶
IsBlacklisted check if the given user is already blacklisted
Click to show internal directories.
Click to hide internal directories.