store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("record not found")

Functions

This section is empty.

Types

type Store

type Store interface {
	Get(key string) (dns.RR, error)
	Delete(key string) error
	Set(key string, answer dns.RR) error
	List() (ret []dns.RR, err error)
	Close() error
}

func NewLeveldbStore

func NewLeveldbStore() (Store, error)

Jump to

Keyboard shortcuts

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