Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackListedItem ¶
func (BlackListedItem) TableName ¶
func (BlackListedItem) TableName() string
type List ¶
func NewListRefresher ¶
func NewListRefresher(config RefresherConfig, updater Updater, stop chan struct{}) List
type RefresherConfig ¶
type SyncList ¶
type SyncList struct {
// contains filtered or unexported fields
}
func NewEmptySyncList ¶
func NewEmptySyncList() SyncList
func (*SyncList) UpdateList ¶
func (m *SyncList) UpdateList(data []BlackListedItem)
type Updater ¶
type Updater interface {
GetBlacklist() ([]BlackListedItem, error)
}
Click to show internal directories.
Click to hide internal directories.