Documentation ¶
Index ¶
- func CopyDir(src string, dst string, bufferSize int) (err error)
- func CopyFile(src string, dst string, buffersize int) error
- func DownloadFile(filepath string, url string) error
- func Unzip(src string, dest string) error
- type Camera
- type ConnectionType
- type FFprobe
- type Result
- type VideoSizeResponse
- type WriteCounter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
MIT Licensed code: https://gist.github.com/r0l1/92462b38df26839a3ca324697c8cba04
func DownloadFile ¶
Types ¶
type ConnectionType ¶
type ConnectionType string
const ( SDCard ConnectionType = "sd_card" Connect ConnectionType = "connect" )
type VideoSizeResponse ¶
type WriteCounter ¶
type WriteCounter struct {
Total uint64
}
func (WriteCounter) PrintProgress ¶
func (wc WriteCounter) PrintProgress()
Click to show internal directories.
Click to hide internal directories.