rtype

package
v4.30.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RP

type RP struct {
	dns.RP
}

RP RR. See RFC 1138, Section 2.2.

func (*RP) CopyToLegacyFields

func (handle *RP) CopyToLegacyFields(rec *models.RecordConfig)

CopyToLegacyFields populates the legacy fields of the RecordConfig using the fields in .F.

func (*RP) FromArgs

func (handle *RP) FromArgs(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, args []any) error

FromArgs fills in the RecordConfig from []any, which is typically from a parsed config file.

func (*RP) FromStruct

func (handle *RP) FromStruct(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, name string, fields any) error

FromStruct fills in the RecordConfig from a struct, typically from an API response.

func (*RP) Name

func (handle *RP) Name() string

Name returns the DNS record type as a string.

Jump to

Keyboard shortcuts

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