refuse_list

package
Version: v0.0.0-...-a4757fd Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2018 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RefuseList

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

func NewRefuseList

func NewRefuseList(dbBackend, dbDir string) *RefuseList

func (*RefuseList) AddRefuseKey

func (rl *RefuseList) AddRefuseKey(pubKey [32]byte)

func (*RefuseList) DeleteRefuseKey

func (rl *RefuseList) DeleteRefuseKey(pubKey [32]byte) (err error)

func (*RefuseList) ListAllKey

func (rl *RefuseList) ListAllKey() (keyList []string)

func (*RefuseList) QueryRefuseKey

func (rl *RefuseList) QueryRefuseKey(pubKey [32]byte) (keyExist bool)

func (*RefuseList) Stop

func (rl *RefuseList) Stop()

Source Files

Jump to

Keyboard shortcuts

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