gandi

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: 21 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GandiApi

type GandiApi struct {
	ApiKey string

	ZoneId int64
	// contains filtered or unexported fields
}

GandiApi is the API handle for this module.

func (*GandiApi) GetDomainCorrections

func (c *GandiApi) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetDomainCorrections returns a list of corrections recommended for this domain.

func (*GandiApi) GetNameservers

func (c *GandiApi) GetNameservers(domain string) ([]*models.Nameserver, error)

GetNameservers returns the nameservers for domain.

func (*GandiApi) GetRegistrarCorrections added in v0.2.4

func (c *GandiApi) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error)

GetRegistrarCorrections returns a list of corrections for this registrar.

Jump to

Keyboard shortcuts

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