stream

package
v0.0.0-...-5064959 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIcy

func ParseIcy(rdr *bufio.Reader, c byte) (string, error)

func TryOne

func TryOne(uri, proxy string) (*http.Response, int)

func TryTwo

func TryTwo(uri, proxy string) (*http.Response, int)

Types

type IcyCW

type IcyCW struct {
	net.Conn
	// contains filtered or unexported fields
}

ICY - Metadata

func (*IcyCW) Read

func (i *IcyCW) Read(b []byte) (int, error)

type Player

type Player struct {
	Play *gst.Element
}

func NewPlayer

func NewPlayer() *Player

func (*Player) Player

func (p *Player) Player(url string)

type Stream

type Stream struct {
	Crnt   int
	Next   int
	SName  string
	SProxy string
	SUrl   string
	SBitr  string
	SGnr   string
	STitle string
}

type Streams

type Streams []Stream

func Plist

func Plist() Streams

Jump to

Keyboard shortcuts

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