Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInternalServer = errors.New("internal server error") ErrUnkown = errors.New("unknown error") )
Shared error between methods go here
View Source
var (
ErrNotificationEndpointNotFound = errors.New("notification endpoint not found, it may not have been configured in the App Store Connect dashboard")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
A wrapper on `*http.Client` which adds the required headers for the App Store Connect API and offer QoL methods for making requests.
func New ¶
func New(config ClientConfig) *Client
func (*Client) RequestTestNotification ¶
Call the StoreKit API to request a test server to server notification.
type ClientConfig ¶
type ClientConfig struct { IssuerId string BundleId string KeyId string PrivateKey *ecdsa.PrivateKey UseSandbox bool }
Metadata necessary to authenticate with the App Store Connect API.
Click to show internal directories.
Click to hide internal directories.