Documentation ¶ Index ¶ type Client func NewClient(pid, url, key string, Type string) *Client func (c *Client) CreatePayUrl(order Order) string func (c *Client) QueryOrderStatus(orderNo string) bool func (c *Client) VerifySign(params map[string]string) bool type Order Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { Pid string Url string Key string Type string } func NewClient ¶ func NewClient(pid, url, key string, Type string) *Client func (*Client) CreatePayUrl ¶ func (c *Client) CreatePayUrl(order Order) string func (*Client) QueryOrderStatus ¶ func (c *Client) QueryOrderStatus(orderNo string) bool func (*Client) VerifySign ¶ func (c *Client) VerifySign(params map[string]string) bool type Order ¶ type Order struct { Name string OrderNo string Amount float64 SignType string NotifyUrl string ReturnUrl string } Source Files ¶ View all Source files epay.go Click to show internal directories. Click to hide internal directories.