util

package
v0.0.0-...-2187358 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueueForId

func GetQueueForId(id string, rQueue queue.RoundRobinQueue) (queue.AggregatableQueue, bool, error)

GetQueueForId receives a playback.RoundRobinQueue and a unique id and attempts to find an aggregated queue matching the given id. Returns an error if a queue is found but is not aggregatable.

func GetUserQueue

func GetUserQueue(user *client.Client, rQueue queue.RoundRobinQueue) (queue.AggregatableQueue, bool, error)

GetUserQueue receives a playback.RoundRobinQueue and a client.Client and attempts to find an aggregated queue matching the client's id. Returns an error if a queue is found but is not aggregatable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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