Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveGuild ¶
type ActiveGuild struct { Name string MediaChan chan *Media UserActions *UserActions }
ActiveGuild is a guild that is currently being streamed to.
func NewActiveGuild ¶
func NewActiveGuild(name string) *ActiveGuild
func (*ActiveGuild) EnqueueMedia ¶
func (g *ActiveGuild) EnqueueMedia(media *Media)
func (*ActiveGuild) IsMediaQueueFull ¶
func (g *ActiveGuild) IsMediaQueueFull() bool
func (*ActiveGuild) IsStreaming ¶
func (g *ActiveGuild) IsStreaming() bool
func (*ActiveGuild) MediaQueueSize ¶
func (g *ActiveGuild) MediaQueueSize() int
func (*ActiveGuild) PrepareForStreaming ¶
func (g *ActiveGuild) PrepareForStreaming(maxQueueSize int)
func (*ActiveGuild) StopStreaming ¶
func (g *ActiveGuild) StopStreaming()
type Media ¶
type UserActions ¶
func NewActions ¶
func NewActions() *UserActions
func (*UserActions) Skip ¶
func (a *UserActions) Skip()
func (*UserActions) Stop ¶
func (a *UserActions) Stop()
Click to show internal directories.
Click to hide internal directories.