namecheap

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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