core

package
v0.0.0-...-1debdf3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

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

Domain 域名

func NewDomain

func NewDomain(
	name string, subdomain string,
	typ dns.Type, value string, ttl time.Duration,
	prefix string, staff string,
) *Domain

NewDomain 创建域名

func (*Domain) Final

func (d *Domain) Final() string

func (*Domain) Name

func (d *Domain) Name() string

func (*Domain) SetValue

func (d *Domain) SetValue(value string)

func (*Domain) Subdomain

func (d *Domain) Subdomain() (subdomain string)

func (*Domain) Ttl

func (d *Domain) Ttl() time.Duration

func (*Domain) Value

func (d *Domain) Value() string

Jump to

Keyboard shortcuts

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