api

package
v0.0.0-...-93c37c5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchFavoriteVideos

func FetchFavoriteVideos() echo.HandlerFunc

func FetchMostPopularVideos

func FetchMostPopularVideos() echo.HandlerFunc

func FetchRelatedVideos

func FetchRelatedVideos() echo.HandlerFunc

func GetVideos

func GetVideos() echo.HandlerFunc

func SearchVideos

func SearchVideos() echo.HandlerFunc

func ToggleFavoriteVideo

func ToggleFavoriteVideo() echo.HandlerFunc

Types

type ToggleFavoriteVideoResponse

type ToggleFavoriteVideoResponse struct {
	VideoId    string `json:"video_id"`
	IsFavorite bool   `json:"is_favorite"`
}

type VideoResponse

type VideoResponse struct {
	VideoList  *youtube.VideoListResponse `json:"video_list"`
	IsFavorite bool                       `json:"is_favorite"`
}

Jump to

Keyboard shortcuts

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