package
0.0.0-20240626142247-57ba7038e800
Repository: https://github.com/curt-labs/api.git
Documentation: pkg.go.dev
# Functions
GetAllCdnFiles Retrieves all CdnFiles.
GetAllCdnFileTypes Retrieves all CdnFileTypes.
GetAllChannels Retrieves all Channels from the DB.
GetAllChannelTypes Retrieves all ChannelType.
GetAllVideos This grabs all the videos given a certain Brand.
GetAllVideoTypes Retrieves all VideoTypes.
Gets a list of all of the old videos - used for legacy support.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Videos can be associated to categories.
CdnFile or CDN file is a video that is hosted on a content delivery network.
CdnFile type specifies what file type the file is.
A Channel type is typicaly the information associated to a online video file such as youtube, vimeo, etc.
ChannelType is a type of Channel.
Video is a reresentation of a video.
Pulls from "Video" table, as opposed to "video_new", used for legacy support.
Video Type specifies what kind of video it is.