api

package
v0.0.0-...-d98e327 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Sample Go code for user authorization Not stolen from: https://developers.google.com/youtube/v3/quickstart/go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discord

type Discord struct {
	// contains filtered or unexported fields
}

func NewDiscord

func NewDiscord(token string, commands []cmd.Command) *Discord

func (*Discord) Listen

func (d *Discord) Listen()

type Test

type Test struct {
	// contains filtered or unexported fields
}

func NewTest

func NewTest(commands []cmd.Command) *Test

func (*Test) Listen

func (t *Test) Listen()

func (*Test) NootMessage

func (t *Test) NootMessage(message string)

type YoutubeLive

type YoutubeLive struct {
	// contains filtered or unexported fields
}

func NewYoutubeLive

func NewYoutubeLive(token []byte, commands []cmd.Command, livestreamId string) *YoutubeLive

TODO dynamically find livestream ID

func (*YoutubeLive) Listen

func (yt *YoutubeLive) Listen()

func (*YoutubeLive) NootMessage

func (yt *YoutubeLive) NootMessage(message string)

Jump to

Keyboard shortcuts

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