Documentation ¶ Index ¶ type Blocklist func NewBlocklist(ctx context.Context) *Blocklist func (m *Blocklist) IsExists(ip string) (ok bool) func (m *Blocklist) Push(ips ...string) func (m *Blocklist) Reset() func (m *Blocklist) Size() (size int) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Blocklist ¶ type Blocklist []string func NewBlocklist ¶ func NewBlocklist(ctx context.Context) *Blocklist func (*Blocklist) IsExists ¶ func (m *Blocklist) IsExists(ip string) (ok bool) func (*Blocklist) Push ¶ func (m *Blocklist) Push(ips ...string) func (*Blocklist) Reset ¶ func (m *Blocklist) Reset() func (*Blocklist) Size ¶ func (m *Blocklist) Size() (size int) Source Files ¶ View all Source files blocklist.go Click to show internal directories. Click to hide internal directories.