channels

package
v0.0.0-...-12f3cd4 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelList

type ChannelList struct {
	Channels []Channels `json:"channels"`
}

func NewChannelList

func NewChannelList() ChannelList

func (*ChannelList) ListChannels

func (ch *ChannelList) ListChannels()

func (*ChannelList) PlayChannel

func (ch *ChannelList) PlayChannel(id string)

type Channels

type Channels struct {
	ID          string      `json:"id"`
	Title       string      `json:"title"`
	Description string      `json:"description"`
	Dj          string      `json:"dj"`
	Genre       string      `json:"genre"`
	Image       string      `json:"image"`
	Largeimage  string      `json:"largeimage,omitempty"`
	Xlimage     string      `json:"xlimage"`
	Twitter     string      `json:"twitter"`
	Updated     string      `json:"updated"`
	Playlists   []Playlists `json:"playlists"`
	Listeners   string      `json:"listeners"`
	LastPlaying string      `json:"lastPlaying"`
}

type Playlists

type Playlists struct {
	URL     string `json:"url"`
	Format  string `json:"format"`
	Quality string `json:"quality"`
}

Jump to

Keyboard shortcuts

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