namecheap

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2018 License: MIT Imports: 13 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 added in v0.2.3

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

GetDomainCorrections returns the corrections for the domain.

func (*Namecheap) GetNameservers added in v0.2.3

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.

Jump to

Keyboard shortcuts

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