Documentation ¶
Index ¶
- type EPPSession
- type HTTPEPPSession
- func (s *HTTPEPPSession) CreateDomain(domainName string, period types.EPPDomainPeriod, registrant string, ...) (*requests.EPPCommandResponse, *requests.EPPCreateDomainResponse, error)
- func (s *HTTPEPPSession) CreateHost(hostName string, addresses []types.EPPHostAddr) (*requests.EPPCommandResponse, *requests.EPPCreateHostResponse, error)
- func (s *HTTPEPPSession) CreateOrganization(contactID string, organization types.EPPContactOrganization, verified bool, ...) (*requests.EPPCommandResponse, *requests.EPPCreateContactResponse, error)
- func (s *HTTPEPPSession) CreatePerson(contactID string, person types.EPPContactPerson, verified bool, oidEsia string) (*requests.EPPCommandResponse, *requests.EPPCreateContactResponse, error)
- func (s *HTTPEPPSession) DeleteContact(contactID string) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) DeleteDomain(domainName string) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) DeleteHost(hostName string) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) Do(request *requests.EPPContainer) (requests.EPPContainer, error)
- func (s *HTTPEPPSession) DoCommand(request *requests.EPPCommandRequest) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) GetContactInfo(contactID, authinfo string) (*requests.EPPCommandResponse, *requests.EPPInfoContactResponse, error)
- func (s *HTTPEPPSession) GetDomainInfo(domainName, authinfo string) (*requests.EPPCommandResponse, *requests.EPPInfoDomainResponse, error)
- func (s *HTTPEPPSession) GetHostInfo(hostName string) (*requests.EPPCommandResponse, *requests.EPPInfoHostResponse, error)
- func (s *HTTPEPPSession) GetRegistrarInfo(registrarID string) (*requests.EPPCommandResponse, *requests.EPPInfoRegistrarResponse, error)
- func (s *HTTPEPPSession) Hello() (requests.EPPHelloResponse, error)
- func (s *HTTPEPPSession) Login(clientID, password string) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) Logout() (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) Poll() (*requests.EPPCommandResponse, *requests.EPPPollResponse, error)
- func (s *HTTPEPPSession) PollAcknowledgement(id string) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) RenewDomain(domainName string, curExpDate string, period types.EPPDomainPeriod) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) TransferApprove(domainName string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
- func (s *HTTPEPPSession) TransferCancel(domainName, authInfo string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
- func (s *HTTPEPPSession) TransferReject(domainName string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
- func (s *HTTPEPPSession) TransferRequest(domainName, authInfo string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
- func (s *HTTPEPPSession) UpdateContact(contactID string, change *types.EPPContactData) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) UpdateDomain(domainName string, change, add, remove *types.EPPDomainData) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) UpdateHost(hostName string, change *types.EPPHostData) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) UpdateRegistrar(registrarID string, change, add, remove *types.EPPRegistrarData) (*requests.EPPCommandResponse, error)
- func (s *HTTPEPPSession) WithClientCertificates(certPath, certKeyPath string) *HTTPEPPSession
- func (s *HTTPEPPSession) WithKnownSessionID(sessionID string) *HTTPEPPSession
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EPPSession ¶
type EPPSession interface { DoEPPContainer(request, response *requests.EPPContainer) error Do(request, response interface{}) error }
type HTTPEPPSession ¶
type HTTPEPPSession struct {
Client *req.Client
}
func NewHTTPSession ¶
func NewHTTPSession(serverURL string) *HTTPEPPSession
func (*HTTPEPPSession) CreateDomain ¶
func (s *HTTPEPPSession) CreateDomain(domainName string, period types.EPPDomainPeriod, registrant string, description []string, authInfo *types.EPPDomainAuthInfo) (*requests.EPPCommandResponse, *requests.EPPCreateDomainResponse, error)
func (*HTTPEPPSession) CreateHost ¶
func (s *HTTPEPPSession) CreateHost(hostName string, addresses []types.EPPHostAddr) (*requests.EPPCommandResponse, *requests.EPPCreateHostResponse, error)
func (*HTTPEPPSession) CreateOrganization ¶
func (s *HTTPEPPSession) CreateOrganization(contactID string, organization types.EPPContactOrganization, verified bool, oidEsia string) (*requests.EPPCommandResponse, *requests.EPPCreateContactResponse, error)
func (*HTTPEPPSession) CreatePerson ¶
func (s *HTTPEPPSession) CreatePerson(contactID string, person types.EPPContactPerson, verified bool, oidEsia string) (*requests.EPPCommandResponse, *requests.EPPCreateContactResponse, error)
func (*HTTPEPPSession) DeleteContact ¶
func (s *HTTPEPPSession) DeleteContact(contactID string) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) DeleteDomain ¶
func (s *HTTPEPPSession) DeleteDomain(domainName string) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) DeleteHost ¶
func (s *HTTPEPPSession) DeleteHost(hostName string) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) Do ¶
func (s *HTTPEPPSession) Do(request *requests.EPPContainer) (requests.EPPContainer, error)
func (*HTTPEPPSession) DoCommand ¶
func (s *HTTPEPPSession) DoCommand(request *requests.EPPCommandRequest) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) GetContactInfo ¶
func (s *HTTPEPPSession) GetContactInfo(contactID, authinfo string) (*requests.EPPCommandResponse, *requests.EPPInfoContactResponse, error)
func (*HTTPEPPSession) GetDomainInfo ¶
func (s *HTTPEPPSession) GetDomainInfo(domainName, authinfo string) (*requests.EPPCommandResponse, *requests.EPPInfoDomainResponse, error)
func (*HTTPEPPSession) GetHostInfo ¶
func (s *HTTPEPPSession) GetHostInfo(hostName string) (*requests.EPPCommandResponse, *requests.EPPInfoHostResponse, error)
func (*HTTPEPPSession) GetRegistrarInfo ¶
func (s *HTTPEPPSession) GetRegistrarInfo(registrarID string) (*requests.EPPCommandResponse, *requests.EPPInfoRegistrarResponse, error)
func (*HTTPEPPSession) Hello ¶
func (s *HTTPEPPSession) Hello() (requests.EPPHelloResponse, error)
func (*HTTPEPPSession) Login ¶
func (s *HTTPEPPSession) Login(clientID, password string) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) Logout ¶
func (s *HTTPEPPSession) Logout() (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) Poll ¶
func (s *HTTPEPPSession) Poll() (*requests.EPPCommandResponse, *requests.EPPPollResponse, error)
func (*HTTPEPPSession) PollAcknowledgement ¶
func (s *HTTPEPPSession) PollAcknowledgement(id string) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) RenewDomain ¶
func (s *HTTPEPPSession) RenewDomain(domainName string, curExpDate string, period types.EPPDomainPeriod) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) TransferApprove ¶
func (s *HTTPEPPSession) TransferApprove(domainName string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
func (*HTTPEPPSession) TransferCancel ¶
func (s *HTTPEPPSession) TransferCancel(domainName, authInfo string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
func (*HTTPEPPSession) TransferReject ¶
func (s *HTTPEPPSession) TransferReject(domainName string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
func (*HTTPEPPSession) TransferRequest ¶
func (s *HTTPEPPSession) TransferRequest(domainName, authInfo string) (*requests.EPPCommandResponse, *requests.EPPTransferResponse, error)
func (*HTTPEPPSession) UpdateContact ¶
func (s *HTTPEPPSession) UpdateContact(contactID string, change *types.EPPContactData) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) UpdateDomain ¶
func (s *HTTPEPPSession) UpdateDomain(domainName string, change, add, remove *types.EPPDomainData) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) UpdateHost ¶
func (s *HTTPEPPSession) UpdateHost(hostName string, change *types.EPPHostData) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) UpdateRegistrar ¶
func (s *HTTPEPPSession) UpdateRegistrar(registrarID string, change, add, remove *types.EPPRegistrarData) (*requests.EPPCommandResponse, error)
func (*HTTPEPPSession) WithClientCertificates ¶
func (s *HTTPEPPSession) WithClientCertificates(certPath, certKeyPath string) *HTTPEPPSession
func (*HTTPEPPSession) WithKnownSessionID ¶
func (s *HTTPEPPSession) WithKnownSessionID(sessionID string) *HTTPEPPSession
Click to show internal directories.
Click to hide internal directories.