Documentation
¶
Index ¶
- type Client
- func (c *Client) CheckFToken(deviceID string) (has bool)
- func (c *Client) CheckVersion(version string) (upUrl string)
- func (c *Client) DelFToken(deviceID, category string) (err error)
- func (c *Client) ExclusivePayCheck(orderID, deviceID string) (isPay bool)
- func (c *Client) GetAD() (ad string)
- func (c *Client) GetExclusivePayUrl() (payUrl, orderID string)
- func (c *Client) GetLic() (isOk bool, result string)
- func (c *Client) GetM3PayUrl() (payUrl, orderID string)
- func (c *Client) GetM3hPayUrl() (payUrl, orderID string)
- func (c *Client) GetM3tPayUrl() (payUrl, orderID string)
- func (c *Client) GetMyInfo(deviceID string) (sCount, sPayCount, isPay, ticket, exp, exclusiveAt, token, m3c, msg string)
- func (c *Client) GetPayUrl() (payUrl, orderID string)
- func (c *Client) M3PayCheck(orderID, deviceID string) (isPay bool)
- func (c *Client) M3hPayCheck(orderID, deviceID string) (isPay bool)
- func (c *Client) M3tPayCheck(orderID, deviceID string) (isPay bool)
- func (c *Client) PayCheck(orderID, deviceID string) (isPay bool)
- func (c *Client) SetProxy(lang string)
- func (c *Client) UpChecksumPrefix(p, deviceID string)
- func (c *Client) UpExclusiveStatus(exclusiveUsed, exclusiveTotal int64, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Hosts []string // 服务器地址s // contains filtered or unexported fields }
var Cli Client
func (*Client) CheckFToken ¶
func (*Client) CheckVersion ¶
func (*Client) ExclusivePayCheck ¶
func (*Client) GetExclusivePayUrl ¶
func (*Client) GetM3PayUrl ¶
func (*Client) GetM3hPayUrl ¶
func (*Client) GetM3tPayUrl ¶
func (*Client) M3PayCheck ¶
func (*Client) M3hPayCheck ¶
func (*Client) M3tPayCheck ¶
func (*Client) UpChecksumPrefix ¶
func (*Client) UpExclusiveStatus ¶
Click to show internal directories.
Click to hide internal directories.