Documentation ¶
Index ¶
- type Client
- func (c *Client) CheckSign(params Params) bool
- func (c *Client) Decode(r io.Reader) Params
- func (c *Client) Encode(params Params) io.Reader
- func (c *Client) Post(url string, params Params, tls bool) (Params, error)
- func (c *Client) SetTimeout(d time.Duration)
- func (c *Client) Sign(params Params) string
- func (c *Client) WithCert(certFile, keyFile, rootcaFile string) error
- func (c *Client) WithCertBytes(cert, key, rootca []byte) error
- type Params
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { AppId string MchId string ApiKey string // contains filtered or unexported fields }
API客户端
func (*Client) WithCertBytes ¶
Click to show internal directories.
Click to hide internal directories.