Documentation ¶
Index ¶
- Constants
- type Client
- func (s *Client) Balance() (int, error)
- func (s *Client) ChangePassword() error
- func (s *Client) CheckContacts(contacts ...string) ([]epp.ItemCheck, error)
- func (s *Client) CheckDomains(domains ...string) ([]epp.ItemCheck, error)
- func (s *Client) CheckHosts(hosts ...string) ([]epp.ItemCheck, error)
- func (s *Client) Close() error
- func (s *Client) Connect() error
- func (s *Client) CreateContact(contact epp.ContactInfo) (string, error)
- func (s *Client) CreateDomain(details epp.DomainDetails) (epp.CreateData, error)
- func (s *Client) CreateHost(hostname string, ipAddresses []string) (epp.CreateData, error)
- func (s *Client) DeleteContact(contactID string) error
- func (s *Client) DeleteDomain(domain string) error
- func (s *Client) DeleteHost(hostname string) error
- func (s *Client) GetContact(contactId string) (epp.ContactResponse, error)
- func (s *Client) GetDomain(domain string) (epp.DomainInfoResp, error)
- func (s *Client) GetHost(host string) (epp.HostInfoResp, error)
- func (s *Client) Hello() (epp.Greeting, error)
- func (s *Client) Login() error
- func (s *Client) Logout() error
- func (s *Client) Poll() (epp.PollMessage, error)
- func (s *Client) PollAck(id string) (int, error)
- func (s *Client) Read() ([]byte, error)
- func (s *Client) RenewDomain(domain, currentExpiration string, years int) (epp.RenewalData, error)
- func (s *Client) Send(payload []byte) ([]byte, error)
- func (s *Client) SetCACertificates(caCerts []byte) error
- func (s *Client) SetReadTimeout(seconds int) error
- func (s *Client) SetSendWaitTime(dur time.Duration)
- func (s *Client) SetWriteTimeout(seconds int) error
- func (s *Client) TransferDomain(domain, transferKey string, newNameservers []string) (epp.TransferData, error)
- func (s *Client) UpdateContact(contactID string, contact epp.ContactInfo) error
- func (s *Client) UpdateDomain(update epp.DomainUpdate) error
- func (s *Client) UpdateDomainExtensions(domain string, extUpdate epp.DomainExtension) error
- func (s *Client) UpdateHost(hostname string, addIPs, removeIPs []string) error
- func (s *Client) Write(payload []byte) error
- type Credentials
Constants ¶
View Source
const APILanguage = "en"
View Source
const APIVersion = "1.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Greeting epp.Greeting LoggedIn bool // contains filtered or unexported fields }
func NewRegistryClient ¶
func (*Client) ChangePassword ¶
func (*Client) CheckContacts ¶
func (*Client) CheckDomains ¶
func (*Client) CreateContact ¶
func (s *Client) CreateContact(contact epp.ContactInfo) (string, error)
func (*Client) CreateDomain ¶
func (s *Client) CreateDomain(details epp.DomainDetails) (epp.CreateData, error)
func (*Client) CreateHost ¶
func (*Client) DeleteContact ¶
func (*Client) DeleteDomain ¶
func (*Client) DeleteHost ¶
func (*Client) GetContact ¶
func (s *Client) GetContact(contactId string) (epp.ContactResponse, error)
func (*Client) RenewDomain ¶
func (*Client) SetCACertificates ¶
func (*Client) SetReadTimeout ¶
func (*Client) SetSendWaitTime ¶
func (*Client) SetWriteTimeout ¶
func (*Client) TransferDomain ¶
func (*Client) UpdateContact ¶
func (s *Client) UpdateContact(contactID string, contact epp.ContactInfo) error
func (*Client) UpdateDomain ¶
func (s *Client) UpdateDomain(update epp.DomainUpdate) error
func (*Client) UpdateDomainExtensions ¶
func (s *Client) UpdateDomainExtensions(domain string, extUpdate epp.DomainExtension) error
func (*Client) UpdateHost ¶
type Credentials ¶
type Credentials struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.