core

package
v0.0.0-...-bed4c38 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package core holds the business logic for yps

Index

Constants

View Source
const (
	// UserInputQueue holds the name of the user input queue
	UserInputQueue = `userInput`
	// PlaylistQueue holds the name of the playlists queue
	PlaylistQueue = `playlist`
	// VideoQueue holds the name of the video queue
	VideoQueue = `video`
)

Variables

This section is empty.

Functions

func ProcessPlaylistTasks

func ProcessPlaylistTasks(playlistMq, videoMq *queue.Queue, resp chan<- error)

ProcessPlaylistTasks processes all the messages from the playlist queue to convert them into video tasks

func ProcessUserInput

func ProcessUserInput(url string) ([]byte, error)

ProcessUserInput transforms the input taken fro the user and returns it in the format needed

func ProcessUserInputTasks

func ProcessUserInputTasks(msgMq, playlistMq, videoMq *queue.Queue, resp chan<- error)

ProcessUserInputTasks processes all the messages from the user input queue

Types

This section is empty.

Directories

Path Synopsis
Package httputil holds common usefull functions for http
Package httputil holds common usefull functions for http

Jump to

Keyboard shortcuts

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