manager

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2013 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunBroadcast

func RunBroadcast(cp string) (err error)

RunBroadcast loads a local config file specified in cp, starts up and keeps running the broadcast, handling all the updates and scheduling.

Types

type Manager

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

Manager is a struct used to manage the broadcast can be started and stopped using it.

func New

func New(c *config.Config) (m *Manager)

New returns a new Manager with all the chans initialized.

func (*Manager) Run

func (m *Manager) Run()

m.Run starts broadcast, handling scheduling. It shuts down when the config is updated.

func (*Manager) Start

func (m *Manager) Start()

Start starts broadcast, screen and update manager.

Jump to

Keyboard shortcuts

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