From d87a6303817bb41d5d4f21a4652fc7b4a32ed581 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 30 Nov 2022 11:29:41 +0700 Subject: all: add method Options in Client The Options method return the current client configuration. --- client.go | 5 +++++ 1 file changed, 5 insertions(+) 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. // -- cgit v1.3