EPP (Extensible Provisioning Protocol) client for Go
Clone or download
Latest commit bed12fa Dec 18, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci CircleCI: enable GitHub checks Dec 17, 2018
cmd/epp cmd/epp: initial commit of EPP CLI client Jul 13, 2015
.gitignore added .gitignore Jun 14, 2015
LICENSE initial commit Jan 12, 2015
README.md Update README. Jul 4, 2015
bool.go Make Bool.UnmarshalXML consistent with Context.AttrBool. Jul 5, 2015
bool_test.go Bool type implements xml.MarshalerAttr and UnmarshalerAttr interfaces. Jun 29, 2015
check.go epp: Parse EPP fee-0.11 <fee:fee> into Charges. Sep 19, 2017
check_test.go epp: Parse EPP fee-0.11 <fee:fee> into Charges. Sep 19, 2017
conn.go Comment fix for my sloppy grammar Jan 4, 2018
conn_test.go Added Conn.Close which issues an EPP <logout> command before closing … Aug 27, 2015
go.mod Go 1.11 module support Sep 12, 2018
go.sum Go 1.11 module support Sep 12, 2018
greeting.go fee-0.21 in more places Aug 1, 2017
greeting_test.go Greeting.SupportsObject and SupportsExtension methods. Jul 25, 2015
logging.go Pretty-print XML when debugging Sep 22, 2016
response.go Use github.com/nbio/xx Jul 5, 2015
result.go result: methods receive result pointer type May 24, 2017
result_test.go Remove decodeResult and decodeLoginResponse. Jul 4, 2015
session.go Capture whatever login result we might have even in error cases Jan 4, 2018
session_test.go Implemented support for the fee-0.6 EPP extension Jan 7, 2016
time.go factor out Time type Jun 13, 2015
time_test.go remove debug logging line from time test Jun 14, 2015
xml.go const xmlCommandPrefix and xmlCommandSuffix Aug 27, 2015
xml_test.go Move deleteRange funcs to conn.go. Jul 4, 2015

README.md

EPP for Go

build status godoc

EPP (Extensible Provisioning Protocol) client for Go. Extracted from and in production use at Domainr.

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

Installation

go get github.com/domainr/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 {
	// ...
}

Todo

  • Tests
  • Commands other than Check

Author

© 2015 nb.io, LLC.