refuse_list

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: LGPL-3.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()

Jump to

Keyboard shortcuts

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