Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenSRSApi ¶
type OpenSRSApi struct {
UserName string // reseller user name
ApiKey string // API Key
BaseURL string // An alternate base URI
// contains filtered or unexported fields
}
OpenSRSApi is the api handle.
func (*OpenSRSApi) GetNameservers ¶
func (c *OpenSRSApi) GetNameservers(domainName string) ([]*models.Nameserver, error)
GetNameservers returns a list of nameservers.
func (*OpenSRSApi) GetRegistrarCorrections ¶
func (c *OpenSRSApi) GetRegistrarCorrections(dc *models.DomainConfig) ([]*models.Correction, error)
GetRegistrarCorrections returns a list of corrections for a registrar.
Click to show internal directories.
Click to hide internal directories.