Documentation ¶
Index ¶
- type ApplicationPaymentInterface
- type BaseClient
- func (client *BaseClient) AuthSignRequest(config *kernel.Config, endpoint string, method string, ...) (*object.HashMap, error)
- func (client *BaseClient) AuthSignRequestV2(config *kernel.Config, endpoint string, method string, ...) (*object.HashMap, error)
- func (client *BaseClient) PlainRequest(endpoint string, params *object.StringMap, method string, ...) (response interface{}, err error)
- func (client *BaseClient) Request(endpoint string, params *object.StringMap, method string, ...) (response interface{}, err error)
- func (client *BaseClient) RequestArray(url string, method string, options *object.HashMap, outHeader interface{}, ...) (*object.HashMap, error)
- func (client *BaseClient) RequestRaw(url string, params *object.StringMap, method string, options *object.HashMap, ...) (interface{}, error)
- func (client *BaseClient) RequestV2(endpoint string, params *object.StringMap, method string, ...) (response interface{}, err error)
- func (client *BaseClient) SafeRequest(url string, params *object.StringMap, method string, option interface{}, ...) (interface{}, error)
- func (client *BaseClient) StreamDownload(requestDownload *power.RequestDownload, filePath string) (int64, error)
- func (client *BaseClient) Wrap(endpoint string) string
- type MiddlewareLogMiddleware
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseClient ¶
type BaseClient struct { kernel.BaseClient App *ApplicationPaymentInterface }
func NewBaseClient ¶
func NewBaseClient(app *ApplicationPaymentInterface) *BaseClient
func (*BaseClient) AuthSignRequest ¶
func (*BaseClient) AuthSignRequestV2 ¶ added in v1.2.0
func (*BaseClient) PlainRequest ¶
func (*BaseClient) RequestArray ¶
func (*BaseClient) RequestRaw ¶
func (*BaseClient) SafeRequest ¶
func (*BaseClient) StreamDownload ¶
func (client *BaseClient) StreamDownload(requestDownload *power.RequestDownload, filePath string) (int64, error)
func (*BaseClient) Wrap ¶
func (client *BaseClient) Wrap(endpoint string) string
type MiddlewareLogMiddleware ¶
type MiddlewareLogMiddleware struct {
*BaseClient
}
----------------------------------------------------------------------
Click to show internal directories.
Click to hide internal directories.