Documentation
¶
Index ¶
- Constants
- type CallBack
- type Client
- func (c *Client) Ping() (*payload.Ping, error)
- func (c *Client) QueryOrder(page, perPage int, outTradeNo ...string) (*payload.QueryOrder, error)
- func (c *Client) QueryRandomReply(outTradeNo ...string) (*payload.QueryRandomReply, error)
- func (c *Client) QuerySponsor(page, perPage int, outTradeNo ...string) (*payload.QuerySponsor, error)
- func (c *Client) Send(path string, params map[string]string) (*http.Response, error)
- type Config
- type RawResponder
- type WebHook
Constants ¶
View Source
const ( ECParamsIncomplete = 400001 ECTimeExpired = 400002 ECInvalidJSON = 400003 ECNoValidTokenFound = 400004 ECSignValidationFail = 400005 )
afdian custom error codes
Deprecated: use ec package instead
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) QueryOrder ¶
func (*Client) QueryRandomReply ¶
func (c *Client) QueryRandomReply(outTradeNo ...string) (*payload.QueryRandomReply, error)
QueryRandomReply need one or more outTradeNo
func (*Client) QuerySponsor ¶
type RawResponder ¶ added in v1.0.2
Click to show internal directories.
Click to hide internal directories.