v1

package
v0.0.0-...-1f55c80 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stream

func Stream(c *gin.Context)

Stream 视频流服务 @Summary a video stream server @Accept json @Produce json @Param vid-id path string true "video id" @Success 200 {stream} json "stream" @Failure 400 {string} json "" @Failure 500 {string} json "" @Router /api/v1/videos/{vid-id} [get]

func TestPage

func TestPage(c *gin.Context)

TestPage 测试

func Upload

func Upload(c *gin.Context)

Upload 视频上传服务 @Summary upload video file server @Accept json @Produce json @Param vid-id path string true "video id" @Param file formData file true "video file" @Success 200 {stream} json "stream" @Failure 400 {string} json "" @Failure 500 {string} json "" @Router /api/v1/upload/{vid-id} [post]

Types

This section is empty.

Jump to

Keyboard shortcuts

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