package
0.0.0-20240930170619-7ffee0de0d46
Repository: https://github.com/domainr/epp2.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Overview

Package protocol implements low-level EPP client and server connections. The Client and Server types in this package provide an ordered queue of EPP commands with XML serialization and deserialization. Network-related features such as timeouts, keep-alives, or cancellation are the responsibility of the caller.

Usage

Open an EPP client connection and wait for the initial <greeting>:

cfg := &tls.Config{ServerName: "epp.example.com"}
conn, err := tls.Dial("tcp", "epp.example.com:700", cfg)
if err != nil {
	// handle error
}
client, greeting, err := protocol.Connect(context.Background(), conn)
// ...