protocol

package
v0.0.0-...-ebd10e3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: BSD-2-Clause Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	Mature                       bool   `json:"mature"`
	Status                       string `json:"status"`
	BroadcasterLanguage          string `json:"broadcaster_language"`
	DisplayName                  string `json:"display_name"`
	Game                         string `json:"game"`
	Language                     string `json:"language"`
	ID                           int    `json:"_id"`
	Name                         string `json:"name"`
	CreatedAt                    string `json:"created_at"`
	UpdatedAt                    string `json:"updated_at"`
	Partner                      bool   `json:"partner"`
	VideoBanner                  string `json:"video_banner"`
	ProfileBanner                string `json:"profile_banner"`
	ProfileBannerBackgroundColor string `json:"profile_banner_background_color"`
	URL                          string `json:"url"`
	Views                        int    `json:"views"`
	Followers                    int    `json:"followers"`
	BroadcasterType              string `json:"broadcaster_type"`
	StreamKey                    string `json:"stream_key"`
	Email                        string `json:"email"`
}

type ChannelFollower

type ChannelFollower struct {
	CreatedAt     string `json:"created_at"`
	Notifications bool   `json:"notifications"`
	User          User   `json:"user"`
}

type ChannelFollows

type ChannelFollows struct {
	Cursor  string             `json:"_cursor"`
	Total   int                `json:"_total"`
	Follows []*ChannelFollower `json:"follows"`
}

type ChannelUpdate

type ChannelUpdate struct {
	Status             *string `json:"status,omitempty"`
	Game               *string `json:"game,omitempty"`
	Delay              *string `json:"string,omitempty"`
	ChannelFeedEnabled *bool   `json:"channel_feed_enabled,omitempty"`
}

type Update

type Update struct {
	Channel *ChannelUpdate `json:"channel,omitempty"`
}

type User

type User struct {
	ID          int    `json:"_id"`
	Bio         string `json:"bio"`
	CreatedAt   string `json:"created_at"`
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
	Type        string `json:"type"`
	UpdateAt    string `json:"updated_at"`
}

Jump to

Keyboard shortcuts

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