Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(bucket string) *videoStorage
New constructs a new video storage that reads from an S3 bucket given by parameter. This constructor will construct the struct as well as kick off an update thread that periodically polls the S3 bucket for videos. Any object without the .flv extension is ignored. The polling period defaults to once every 24 hours, but can be overridden by the VIDEO_ENUMERATION_PERIOD_MINUTES environment variable
Types ¶
Click to show internal directories.
Click to hide internal directories.