Documentation
¶
Index ¶
- type BadgerLogger
- type State
- func (s *State) GetCursor() (uint64, string, error)
- func (s *State) Load() error
- func (s *State) LookupDomain(domainName string) (map[string]string, error)
- func (s *State) LookupNameserverRecord(recordName string) (map[string]string, error)
- func (s *State) UpdateCursor(slotNumber uint64, blockHash string) error
- func (s *State) UpdateDomain(domainName string, nameServers map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerLogger ¶
BadgerLogger is a wrapper type to give our logger the expected interface
func NewBadgerLogger ¶
func NewBadgerLogger() *BadgerLogger
func (*BadgerLogger) Warningf ¶
func (b *BadgerLogger) Warningf(msg string, args ...any)
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) LookupDomain ¶
func (*State) LookupNameserverRecord ¶ added in v0.6.0
LookupNameserverRecord searches the domain nameserver entries for one matching the requested record
func (*State) UpdateCursor ¶
Click to show internal directories.
Click to hide internal directories.