users

package
v1.1.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

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 Blocks

type Blocks struct{}

func (Blocks) GetRequiredScopes

func (e Blocks) GetRequiredScopes(method string) []string

func (Blocks) Path

func (e Blocks) Path() string

func (Blocks) ServeHTTP

func (e Blocks) ServeHTTP(w http.ResponseWriter, r *http.Request)

func (Blocks) ValidMethod

func (e Blocks) ValidMethod(method string) bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL