query

package
v0.0.0-...-2704f02 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StreamQuery

type StreamQuery struct {
	Streams []stream.Stream
}

func CreateStreamQuery

func CreateStreamQuery(streams []stream.Stream) *StreamQuery

func (*StreamQuery) Filter

func (sq *StreamQuery) Filter(filterFunc func(stream.Stream) bool) *StreamQuery

func (*StreamQuery) First

func (sq *StreamQuery) First() *stream.Stream

func (*StreamQuery) GetAudioOnly

func (sq *StreamQuery) GetAudioOnly() *stream.Stream

func (*StreamQuery) GetByItag

func (sq *StreamQuery) GetByItag(itag float64) (stream.Stream, error)

func (*StreamQuery) GetHighestResolution

func (sq *StreamQuery) GetHighestResolution() *stream.Stream

Jump to

Keyboard shortcuts

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