Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharityAmount ¶
type CharityCampaign ¶
type CharityCampaign struct{}
func (CharityCampaign) GetRequiredScopes ¶
func (e CharityCampaign) GetRequiredScopes(method string) []string
func (CharityCampaign) Path ¶
func (e CharityCampaign) Path() string
func (CharityCampaign) ServeHTTP ¶
func (e CharityCampaign) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (CharityCampaign) ValidMethod ¶
func (e CharityCampaign) ValidMethod(method string) bool
type CharityDonations ¶
type CharityDonations struct{}
func (CharityDonations) GetRequiredScopes ¶
func (e CharityDonations) GetRequiredScopes(method string) []string
func (CharityDonations) Path ¶
func (e CharityDonations) Path() string
func (CharityDonations) ServeHTTP ¶
func (e CharityDonations) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (CharityDonations) ValidMethod ¶
func (e CharityDonations) ValidMethod(method string) bool
type GetCharityCampaignResponse ¶
type GetCharityCampaignResponse struct {
ID string `json:"id"`
BroadcasterID string `json:"broadcaster_id"`
BroadcasterName string `json:"broadcaster_name"`
BroadcasterLogin string `json:"broadcaster_login"`
CharityName string `json:"charity_name"`
CharityDescription string `json:"charity_description"`
CharityLogo string `json:"charity_logo"`
CharityWebsite string `json:"charity_website"`
CurrentAmount CharityAmount `json:"current_ammount"`
TargetAmount CharityAmount `json:"target_amount"`
}
type GetCharityDonationsResponse ¶
type GetCharityDonationsResponse struct {
ID string `json:"campaign_id"`
UserID string `json:"user_id"`
UserLogin string `json:"user_login"`
UserName string `json:"user_name"`
TargetAmount CharityAmount `json:"target_amount"`
}
Click to show internal directories.
Click to hide internal directories.