diff options
| author | Shulhan <ms@kilabit.info> | 2022-11-30 11:29:41 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-11-30 11:29:41 +0700 |
| commit | d87a6303817bb41d5d4f21a4652fc7b4a32ed581 (patch) | |
| tree | c87b468ea5d119d3aa85914f4fabc210ea3c432a | |
| parent | 26d271cffc3acfa682c77569e6ae55b9b51696bb (diff) | |
| download | duitku-d87a6303817bb41d5d4f21a4652fc7b4a32ed581.tar.xz | |
all: add method Options in Client
The Options method return the current client configuration.
| -rw-r--r-- | client.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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. // |
