api

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlayerAPI

type PlayerAPI struct {
	SkillName   string
	AlexaClient alexaClient.IAlexaClient
}

func NewPlayerAPI

func NewPlayerAPI(alexaClient alexaClient.IAlexaClient, skillName string) *PlayerAPI

func (*PlayerAPI) GetDevices

func (playerAPI *PlayerAPI) GetDevices(c *gin.Context)

func (*PlayerAPI) GetVolume added in v0.0.2

func (playerAPI *PlayerAPI) GetVolume(c *gin.Context)

func (*PlayerAPI) PostNext

func (playerAPI *PlayerAPI) PostNext(c *gin.Context)

func (*PlayerAPI) PostPlay

func (playerAPI *PlayerAPI) PostPlay(c *gin.Context)

func (*PlayerAPI) PostPrev

func (playerAPI *PlayerAPI) PostPrev(c *gin.Context)

func (*PlayerAPI) PostStop

func (playerAPI *PlayerAPI) PostStop(c *gin.Context)

func (*PlayerAPI) PostVolume added in v0.0.2

func (playerAPI *PlayerAPI) PostVolume(c *gin.Context)

type QueueAPI

type QueueAPI struct {
	Queue *model.Queue
}

func NewQueueAPI

func NewQueueAPI(queue *model.Queue) *QueueAPI

func (*QueueAPI) GetNowPlaying

func (api *QueueAPI) GetNowPlaying(c *gin.Context)

func (*QueueAPI) GetQueue

func (api *QueueAPI) GetQueue(c *gin.Context)

func (*QueueAPI) PostQueue

func (api *QueueAPI) PostQueue(c *gin.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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