Versions in this module Expand all Collapse all v1 v1.0.0 May 23, 2019 Changes in this version + const ProductionURL + const SandboxURL + type Client struct + Secret string + URL string + func New(secret string) *Client + func NewWithClient(secret string, cli *http.Client) *Client + func (c *Client) Verify(ctx context.Context, userID string, receiptID string) (IAPResponse, error) + type IAPClient interface + Verify func(context.Context, string, string) (IAPResponse, error) + type IAPResponse struct + BetaProduct bool + CancelDate int64 + ParentProductID string + ProductID string + ProductType string + PurchaseDate int64 + Quantity int64 + ReceiptID string + RenewalDate int64 + Term string + TermSku string + TestTransaction bool + type IAPResponseError struct + Message string + Status bool