Documentation
¶
Index ¶
- type RP
- func (handle *RP) CopyToLegacyFields(rec *models.RecordConfig)
- func (handle *RP) FromArgs(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, args []any) error
- func (handle *RP) FromStruct(dcn *domaintags.DomainNameVarieties, rec *models.RecordConfig, name string, ...) error
- func (handle *RP) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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.
Click to show internal directories.
Click to hide internal directories.