vlog

command module
v0.0.0-...-9a300ce Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

README

VLOG

使用go语言开发的vlog框架

github github github

接口定义

vlog播放接口

vlog上传接口

  • 接口描述:上传一条vlog,视频大小不能超过10m
  • 请求方法:POST
  • 请求地址:http://domain/api/upload
  • 状态码: 200 successful 500 Internal

vlog列表接口

  • 接口描述:列出所有的vlog
  • 请求方法:GET
  • 请求地址:http://domain/api/list
  • 状态码: 200 successful

视图HTML

使用SUI框架开发,通过AJAX与后端数据进行数据交换,文件通过multipart/form-data来传输

如何部署

将view视图与controllers中的所有文件中localhost替换为你所需要的部署机器的ip即可

测试网址

47.107.54.187:8088

由于部署机器为阿里云低配机,网速比较慢,需要等待一会才能将视频传输完毕

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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