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()
Click to show internal directories.
Click to hide internal directories.