block

package
v0.0.3-tmp Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2018 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CuckooSet

type CuckooSet struct {
	// contains filtered or unexported fields
}

use to block specified net.IP or NodeID

func NewCuckooSet

func NewCuckooSet(cap uint) *CuckooSet

func (*CuckooSet) Add

func (s *CuckooSet) Add(v []byte)

func (*CuckooSet) Count

func (s *CuckooSet) Count() uint

func (*CuckooSet) Del

func (s *CuckooSet) Del(v []byte)

func (*CuckooSet) Has

func (s *CuckooSet) Has(v []byte) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL