Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ArrayStreams []TwitchStream
View Source
var I64LastStreamersUpdate int64
View Source
var MuStreams sync.RWMutex
Functions ¶
func RequestTwitchAuthToken ¶
func RequestTwitchAuthToken() bool
func StreamlistEqual ¶
func StreamlistEqual(arStreams []TwitchStream) bool
func UpdateOnlineStreams ¶
func UpdateOnlineStreams()
func WatchOnline ¶
func WatchOnline()
Types ¶
type TwitchStream ¶
type TwitchStream struct { UserLogin string `json:"user_login"` UserName string `json:"user_name"` Title string `json:"stream_title"` Language string `json:"stream_language"` Thumbnail string `json:"stream_thumbnail"` ViewersCount int `json:"viewers_count"` }
func GetTwitchStreams ¶
func GetTwitchStreams(arTwitchIDs []string) []TwitchStream
func RequestTwitchStreams ¶
func RequestTwitchStreams(arTwitchIDs []string) ([]TwitchStream, int)
func SortStreams ¶
func SortStreams(arStreams []TwitchStream) []TwitchStream
Click to show internal directories.
Click to hide internal directories.