Documentation ¶
Index ¶
- type ApplicationPaymentInterface
- type BaseClient
- func (client *BaseClient) AuthSignRequest(config *kernel.Config, endpoint string, method string, ...) (*object.HashMap, error)
- func (client *BaseClient) AuthSignRequestV2(endpoint string, method string, params *object.HashMap, ...) (*object.HashMap, error)
- func (client *BaseClient) AuthSignRequestV2_(endpoint string, method string, params *object.HashMap, ...) (*object.HashMap, error)
- func (client *BaseClient) OverrideGetMiddlewareOfAccessToken()
- func (client *BaseClient) OverrideGetMiddlewares()
- func (client *BaseClient) PlainRequest(endpoint string, params *object.StringMap, method string, ...) (response *http.Response, err error)
- func (client *BaseClient) RegisterHttpMiddlewares()
- func (client *BaseClient) Request(ctx context.Context, endpoint string, params *object.StringMap, method string, ...) (response interface{}, err error)
- func (client *BaseClient) RequestArray(ctx context.Context, url string, method string, options *object.HashMap, ...) (*object.HashMap, error)
- func (client *BaseClient) RequestRaw(ctx context.Context, url string, params *object.StringMap, method string, ...) (interface{}, error)
- func (client *BaseClient) RequestV2(ctx context.Context, endpoint string, params *object.HashMap, method string, ...) (response *http.Response, err error)
- func (client *BaseClient) SafeRequest(ctx context.Context, url string, params *object.HashMap, method string, ...) (interface{}, error)
- func (client *BaseClient) StreamDownload(requestDownload *power.RequestDownload, filePath string) (int64, error)
- func (client *BaseClient) Wrap(endpoint string) string
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, error)
func (*BaseClient) AuthSignRequest ¶
func (*BaseClient) AuthSignRequestV2 ¶
func (*BaseClient) AuthSignRequestV2_ ¶
func (*BaseClient) OverrideGetMiddlewareOfAccessToken ¶
func (client *BaseClient) OverrideGetMiddlewareOfAccessToken()
func (*BaseClient) OverrideGetMiddlewares ¶
func (client *BaseClient) OverrideGetMiddlewares()
func (*BaseClient) PlainRequest ¶
func (*BaseClient) RegisterHttpMiddlewares ¶
func (client *BaseClient) RegisterHttpMiddlewares()
----------------------------------------------------------------------
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
Click to show internal directories.
Click to hide internal directories.