From acd2d6b980dbaf492719c412382617b538a099e8 Mon Sep 17 00:00:00 2001 From: Ritesh Chitlangi Date: Tue, 27 Jul 2021 04:18:37 +0800 Subject: [PATCH] fixed README --- README.md | 10 +++++----- epp-client/README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9e616e7..bf04268 100644 --- a/README.md +++ b/README.md @@ -39,15 +39,15 @@ usually located at `$HOME/.config` or defined by the `XDG_CONFIG_HOME` environme An example config looks like this: ```toml -[registry.verisign +[registry.verisign] host = 'epp.verisign-grs.com' port = 700 username = 'username' password = 'password' # service extensions -ext_uris = [ +ext_uris = [] -[registry.verisign.tls_files +[registry.verisign.tls_files] # the full client certificate chain in PEM format cert_chain = '/path/to/certificate/chain/pemfile' # the RSA private key for your certificate @@ -56,7 +56,7 @@ key = '/path/to/private/key/pemfile' ## Operation -Once the config is set correctly, you can create a mut variable of type [`EppClient` +Once the config is set correctly, you can create a mut variable of type `EppClient` with the domain registry ```rust @@ -64,7 +64,7 @@ use epp_client::EppClient; use epp_client::epp::{EppDomainCheck, EppDomainCheckResponse}; use epp_client::epp::generate_client_tr_id; -#[tokio::main +#[tokio::main] async fn main() { // Create an instance of EppClient, specifying the name of the registry as in // the config file diff --git a/epp-client/README.md b/epp-client/README.md index b3b413e..bf04268 100644 --- a/epp-client/README.md +++ b/epp-client/README.md @@ -64,7 +64,7 @@ use epp_client::EppClient; use epp_client::epp::{EppDomainCheck, EppDomainCheckResponse}; use epp_client::epp::generate_client_tr_id; -#[tokio::main +#[tokio::main] async fn main() { // Create an instance of EppClient, specifying the name of the registry as in // the config file