controller

package
v0.0.0-...-37b3ac2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerType

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

func NewController

func NewController(db *leveldb.DB) *ControllerType

func (*ControllerType) Formats

func (controller *ControllerType) Formats(videoURL string) map[string]string

func (*ControllerType) GetAudioURL

func (controller *ControllerType) GetAudioURL(videoURL string, FormatID string) (string, error)

func (*ControllerType) GetMeta

func (controller *ControllerType) GetMeta(videoURL string) (map[string]string, error)

type FormatType

type FormatType struct {
	Format string
	URL    string
	// contains filtered or unexported fields
}

type MetadataType

type MetadataType struct {
	Fulltitle   string
	Filename    string
	Description string
	Track       string
	Formats     []FormatType
	Raw         string
}

https://github.com/syndtr/goleveldb

type VideoUrls

type VideoUrls map[string]MetadataType

Jump to

Keyboard shortcuts

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