client

package
v0.0.0-...-5f01df2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 (c *Client) CheckFToken(deviceID string) (has bool)

func (*Client) CheckVersion

func (c *Client) CheckVersion(version string) (upUrl string)

func (*Client) DelFToken

func (c *Client) DelFToken(deviceID, category string) (err error)

func (*Client) ExclusivePayCheck

func (c *Client) ExclusivePayCheck(orderID, deviceID string) (isPay bool)

func (*Client) GetAD

func (c *Client) GetAD() (ad string)

func (*Client) GetExclusivePayUrl

func (c *Client) GetExclusivePayUrl() (payUrl, orderID string)

func (*Client) GetLic

func (c *Client) GetLic() (isOk bool, result string)

func (*Client) GetM3PayUrl

func (c *Client) GetM3PayUrl() (payUrl, orderID string)

func (*Client) GetM3hPayUrl

func (c *Client) GetM3hPayUrl() (payUrl, orderID string)

func (*Client) GetM3tPayUrl

func (c *Client) GetM3tPayUrl() (payUrl, orderID string)

func (*Client) GetMyInfo

func (c *Client) GetMyInfo(deviceID string) (sCount, sPayCount, isPay, ticket, exp, exclusiveAt, token, m3c, msg string)

func (*Client) GetPayUrl

func (c *Client) GetPayUrl() (payUrl, orderID string)

func (*Client) M3PayCheck

func (c *Client) M3PayCheck(orderID, deviceID string) (isPay bool)

func (*Client) M3hPayCheck

func (c *Client) M3hPayCheck(orderID, deviceID string) (isPay bool)

func (*Client) M3tPayCheck

func (c *Client) M3tPayCheck(orderID, deviceID string) (isPay bool)

func (*Client) PayCheck

func (c *Client) PayCheck(orderID, deviceID string) (isPay bool)

func (*Client) SetProxy

func (c *Client) SetProxy(lang string)

func (*Client) UpChecksumPrefix

func (c *Client) UpChecksumPrefix(p, deviceID string)

func (*Client) UpExclusiveStatus

func (c *Client) UpExclusiveStatus(exclusiveUsed, exclusiveTotal int64, exclusiveErr, exclusiveToken, deviceID string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL