v1

package
v0.0.0-...-00a9c49 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVideo

func GetVideo(c *gin.Context)

func Home

func Home(c *gin.Context)

func ListVideo

func ListVideo(c *gin.Context)

func RegisterAPIV1

func RegisterAPIV1(v1Group *gin.RouterGroup)

v1

func UploadVideo

func UploadVideo(c *gin.Context)

curl -X POST http://localhost:49152/api/v1/videos -F "file=@./mv.mp4" -H "Content-Type: multipart/form-data"

func VerifyPermissions

func VerifyPermissions(c *gin.Context)

todo: 验证权限

Types

This section is empty.

Jump to

Keyboard shortcuts

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