eppclient

package
v0.0.0-...-41af103 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

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 (*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 (*HTTPEPPSession) DoCommand

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 (*HTTPEPPSession) GetRegistrarInfo

func (*HTTPEPPSession) Hello

func (*HTTPEPPSession) Login

func (s *HTTPEPPSession) Login(clientID, password string) (*requests.EPPCommandResponse, error)

func (*HTTPEPPSession) Logout

func (*HTTPEPPSession) Poll

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 (*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

Jump to

Keyboard shortcuts

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