Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandlerInterface ¶
type CommandHandlerInterface interface {
Handle(command interface{}) (interface{}, error)
}
type EntityInterface ¶
type EntityInterface interface {
GetId() string
}
type IoProgressInterface ¶
type IoProgressInterface interface { // GetTotalByteCount get total count of remote source file GetTotalByteCount() int64 // GetCurrentByteCount get count of local bytes GetCurrentByteCount() int64 // GetPercentage get current percentage GetPercentage() string }
IoProgressInterface interface for download progress
type VideoDownloaderInterface ¶
type VideoDownloaderInterface interface { // Download start downloading a file Download(video VideoInterface, outputDir string) (<-chan IoProgressInterface, error) // GetLocalFilePathAbs get absolute path of local downloaded file GetLocalFilePathAbs() string // GetLastError get last error GetLastError() error // ResetLastError reset last error ResetLastError() }
VideoDownloaderInterface interface for downloader
type VideoExtractorInterface ¶
type VideoExtractorInterface interface {
ExtractVideoFromURL(rawURL string) (VideoInterface, error)
}
VideoExtractorInterface interface for all video extractors
type VideoInterface ¶
Click to show internal directories.
Click to hide internal directories.