aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-11-30 11:29:41 +0700
committerShulhan <ms@kilabit.info>2022-11-30 11:29:41 +0700
commitd87a6303817bb41d5d4f21a4652fc7b4a32ed581 (patch)
treec87b468ea5d119d3aa85914f4fabc210ea3c432a
parent26d271cffc3acfa682c77569e6ae55b9b51696bb (diff)
downloadduitku-d87a6303817bb41d5d4f21a4652fc7b4a32ed581.tar.xz
all: add method Options in Client
The Options method return the current client configuration.
-rw-r--r--client.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/client.go b/client.go
index 827679b..938ac32 100644
--- a/client.go
+++ b/client.go
@@ -221,6 +221,11 @@ func (cl *Client) ListBank() (banks []Bank, err error) {
return banks, nil
}
+// Options return the current client configuration.
+func (cl *Client) Options() (opts ClientOptions) {
+ return cl.opts
+}
+
// RtolInquiry get the information of the name of the account owner of the
// transfer destination.
//