Skip to content

domainr/epp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EPP for Go

build status pkg.go.dev

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

© 2021 nb.io LLC

About

EPP (Extensible Provisioning Protocol) client for Go

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

Languages