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 User ¶
type User struct {
ID string `db:"id" json:"id"`
UserLogin string `db:"user_login" json:"login"`
DisplayName string `db:"display_name" json:"display_name"`
Email string `db:"email" json:"email,omitempty"`
UserType string `db:"user_type" json:"type"`
BroadcasterType string `db:"broadcaster_type" json:"broadcaster_type"`
UserDescription string `db:"user_description" json:"description"`
CreatedAt string `db:"created_at" json:"created_at"`
ModifiedAt string `db:"modified_at" json:"-"`
ProfileImageURL string `dbi:"false" json:"profile_image_url" `
OfflineImageURL string `dbi:"false" json:"offline_image_url" `
ViewCount int `dbi:"false" json:"view_count"`
}
type UsersEndpoint ¶
type UsersEndpoint struct{}
func (UsersEndpoint) GetRequiredScopes ¶
func (e UsersEndpoint) GetRequiredScopes(method string) []string
func (UsersEndpoint) Path ¶
func (e UsersEndpoint) Path() string
func (UsersEndpoint) ServeHTTP ¶
func (e UsersEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (UsersEndpoint) ValidMethod ¶
func (e UsersEndpoint) ValidMethod(method string) bool
Click to show internal directories.
Click to hide internal directories.