Documentation ¶
Index ¶
- type ApplicationPaymentInterface
- type BaseClient
- func (client *BaseClient) AuthSignRequest(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) SafeRequest(url string, params *object.StringMap, method string, option *object.HashMap, ...) (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) 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.