Documentation ¶
Index ¶
- func CreateUpload(c *fiber.Ctx) error
- func CreateVideo(c *fiber.Ctx) error
- func CreateView(c *fiber.Ctx) error
- func GetAccount()
- func GetMe(c *fiber.Ctx) error
- func GetUser(c *fiber.Ctx) error
- func GetVersions(c *fiber.Ctx) error
- func GetVideo(c *fiber.Ctx) error
- func GetVideos(c *fiber.Ctx) error
- func HardDeleteVideo(c *fiber.Ctx) error
- func Hello(c *fiber.Ctx) error
- func Login(c *fiber.Ctx) error
- func PatchVideo(c *fiber.Ctx) error
- func Register(c *fiber.Ctx) error
- type CreateUploadInput
- type CreateUploadPayload
- type CreateVideoInput
- type PublicUserQueryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVersions ¶
func GetVersions(c *fiber.Ctx) error
GetVersions returns tidal information from s3
func HardDeleteVideo ¶
func HardDeleteVideo(c *fiber.Ctx) error
HardDeleteVideo fully delete the video and all cdn resources Tidal resources will be retained
Types ¶
type CreateUploadInput ¶
type CreateUploadInput struct {
FileName string `json:"filename"`
}
CreateUploadInput is used for creating signed urls
type CreateUploadPayload ¶
CreateUploadPayload instructs the client how to call the /videos endpoint
type CreateVideoInput ¶
type CreateVideoInput struct { ID string `json:"id"` Title string `json:"title"` Duration float32 `json:"duration"` }
CreateVideoInput is used for creating videos
type PublicUserQueryResponse ¶
type PublicUserQueryResponse struct { ID string `json:"id"` Avatar string `json:"avatar"` Username string `json:"username"` }
PublicUserQueryResponse returns public information about a user
Click to show internal directories.
Click to hide internal directories.