transcoder

package
v0.0.0-...-c94f744 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2015 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSession

func GetSession(r render.Render, db *mgo.Database, params martini.Params)

func HandleError

func HandleError(err error, r render.Render)

func Home

func Home() string

func NewTranscodingSession

func NewTranscodingSession(fileForm FileForm, r render.Render, db *mgo.Database)

Types

type DatabaseSession

type DatabaseSession struct {
	*mgo.Session
	// contains filtered or unexported fields
}

func NewSession

func NewSession(name string) *DatabaseSession

func (*DatabaseSession) Database

func (session *DatabaseSession) Database() martini.Handler

type FileForm

type FileForm struct {
	Name       string                `form:"name"`
	FileUpload *multipart.FileHeader `form:"fileUpload"`
}

type Server

type Server *martini.ClassicMartini

func NewServer

func NewServer(session *DatabaseSession) Server

type TranscodingSession

type TranscodingSession struct {
	Name string        `json:"name"`
	Type string        `json:"type"`
	Path string        `json:"path"`
	Id   bson.ObjectId `json:"id" bson:"_id,omitempty"`
}

Jump to

Keyboard shortcuts

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