indexer

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSReferenceRefScriptDatum added in v0.18.0

type DNSReferenceRefScriptDatum struct {
	// This allows the type to be used with cbor.DecodeGeneric
	cbor.StructAsArray
	TldName    []byte
	SymbolDrat []byte
	SymbolHns  []byte
}

DNSReferenceRefScriptDatum represents the auto-discovery datum type for scripts that handle DNS records

func (*DNSReferenceRefScriptDatum) UnmarshalCBOR added in v0.18.0

func (d *DNSReferenceRefScriptDatum) UnmarshalCBOR(cborData []byte) error

type Domain

type Domain struct {
	Name        string
	Nameservers map[string]string
}

type Indexer

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

func GetIndexer

func GetIndexer() *Indexer

GetIndexer returns the global indexer instance

func (*Indexer) LookupDomain

func (i *Indexer) LookupDomain(name string) *Domain

func (*Indexer) Start

func (i *Indexer) Start() error

Jump to

Keyboard shortcuts

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