youtube

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(w http.ResponseWriter, r *http.Request)

func YouTubeHandler

func YouTubeHandler(w http.ResponseWriter, r *http.Request, token string)

Types

type Output

type Output struct {
	ChannelName            string `json:"channelName"`
	ChannelSubscriberCount int    `json:"channelSubscriberCount"`
	ChannelURL             string `json:"channelURL"`
	StreamIsLive           bool   `json:"streamIsLive"`
	StreamName             string `json:"streamName"`
	StreamViewerCount      int    `json:"streamViewerCount"`
	StreamURL              string `json:"streamURL"`
}

Jump to

Keyboard shortcuts

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