Documentation ¶
Overview ¶
Package blocklist contains a blocklist plugin for CoreDNS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blocklist ¶
Blocklist is the blocklist plugin.
type List ¶
type List struct {
// contains filtered or unexported fields
}
List represents a single blocklist.
type MemoryDB ¶
type MemoryDB struct {
// contains filtered or unexported fields
}
MemoryDB is an in-memory store of blocklist data.
func NewMemoryDB ¶
func NewMemoryDB() *MemoryDB
NewMemoryDB returns a new MemoryDB. A client must call Pokee on a separate goroutine.
func (*MemoryDB) LastFetched ¶
LastFetched returns the time that the given source was last fetched, or the zero time if it has never been fetched.
Click to show internal directories.
Click to hide internal directories.