Documentation ¶
Overview ¶
Package interceptor handles oauth signing of every http request before sending.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHttpClient ¶
GetHttpClient provides the http.Client having capability to intercept the http call and add the generated oauth1.0a header in each request. consumerKey: provide the consumer key received from mastercard developer portal filePath: a file path of a RSA private key in PKCS#12 format password: a password to read the RSA private key from the given file path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.