catalog

package
v0.0.3-openssl Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package catalog parses DNS catalog zones as defined by RFC 9432.

Index

Constants

View Source
const Version = "2"

Version is the RFC 9432 catalog zone schema version supported by this package.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Origin  string
	Members []Member
}

Catalog is the parsed catalog zone state.

func Parse

func Parse(origin string, rrs []dns.RR) (*Catalog, error)

Parse builds a Catalog from resource records belonging to origin.

type Member

type Member struct {
	ID                string
	Zone              string
	Groups            []string
	ChangeOfOwnership string
}

Member is a member zone entry from a catalog zone.

Jump to

Keyboard shortcuts

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