mlib

package
v0.0.0-...-0a77afb Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MusicEntry

type MusicEntry struct {
	Id     string
	Name   string
	Artist string
	Source string
	Type   string
}

type MusicManager

type MusicManager struct {
	// contains filtered or unexported fields
}

func NewMusicManager

func NewMusicManager() *MusicManager

func (*MusicManager) Add

func (m *MusicManager) Add(music *MusicEntry)

func (*MusicManager) Find

func (m *MusicManager) Find(name string) *MusicEntry

func (*MusicManager) Get

func (m *MusicManager) Get(index int) (music *MusicEntry, err error)

func (*MusicManager) Len

func (m *MusicManager) Len() int

func (*MusicManager) Remove

func (m *MusicManager) Remove(index int) *MusicEntry

func (*MusicManager) RemoveByName

func (m *MusicManager) RemoveByName(name string) *MusicEntry

Jump to

Keyboard shortcuts

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