namecheap

package
v2.10.1-0...-ae299b5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NamecheapDefaultNs = []string{"dns1.registrar-servers.com", "dns2.registrar-servers.com"}

NamecheapDefaultNs lists the default nameservers for this provider.

Functions

This section is empty.

Types

type Namecheap

type Namecheap struct {
	ApiKey  string
	ApiUser string
	// contains filtered or unexported fields
}

Namecheap is the handle for this provider.

func (*Namecheap) GetDomainCorrections

func (n *Namecheap) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetDomainCorrections returns the corrections for the domain.

func (*Namecheap) GetNameservers

func (n *Namecheap) GetNameservers(domainName string) ([]*models.Nameserver, error)

GetNameservers returns the nameservers for a domain.

func (*Namecheap) GetRegistrarCorrections

func (n *Namecheap) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetRegistrarCorrections returns corrections to update nameservers.

func (*Namecheap) GetZoneRecords

func (client *Namecheap) GetZoneRecords(domain string) (models.Records, error)

GetZoneRecords gets the records of a zone and returns them in RecordConfig format.

Jump to

Keyboard shortcuts

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