player

package
v0.0.0-...-ea888db Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

player is the controller. It ties together the miner, the database and the UI

Index

Constants

View Source
const (
	DBTemplatePath = "/home/equiroz/go/src/github.com/QuirozE/go-MP3-player/internal/pkg/dbManager/dbFiles/rolas.sql"
	DBPath         = "/home/equiroz/go/src/github.com/QuirozE/go-MP3-player/internal/pkg/dbManager/dbFiles/rolas.db"
)

Variables

This section is empty.

Functions

func NewUI

func NewUI() *ui

Types

type GoPlayer

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

GoPlayer is the controller of the app

func NewGoPlayer

func NewGoPlayer() *GoPlayer

NewGoPlayer

func (*GoPlayer) Init

func (p *GoPlayer) Init() error

Init inits the database and the UI

func (*GoPlayer) InitUI

func (p *GoPlayer) InitUI() error

InitUI initializes all the widgets of the interface

Jump to

Keyboard shortcuts

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