/epp

EPP (Extensible Provisioning Protocol) client for Go

Primary LanguageGoMIT LicenseMIT

EPP for Go

build status godoc

EPP (Extensible Provisioning Protocol) client for Go. Extracted from and in production use at Domainr, and extended by Mythic Beasts

Note: This library is currently under development. Its API is subject to breaking changes at any time.

Installation

go get github.com/mythic-beasts/epp

Usage

tconn, err := tls.Dial("tcp", "epp.example.com:700", nil)
if err != nil {
	return err
}

conn, err := epp.NewConn(tconn)
if err != nil {
	return err
}

err = conn.Login(user, password, "")
if err != nil {
	return err
}

dcr, err := conn.CheckDomain("google.com")
if err != nil {
	return err
}
for _, r := range dcr.Checks {
	// ...
}

Supported commands

The package currently supports the following methods:

  • CheckDomain
  • DomainInfo
  • DomainUpdateDS (update command)

Todo

  • Tests
  • More commands

Author

© 2015 nb.io, LLC.