video_server:一个基于golang_的流式视频网站

上传者: 42102634 | 上传时间: 2022-08-17 10:21:13 | 文件大小: 3.42MB | 文件类型: ZIP
分享+:视频共享平台 常规:用户可以从网站上观看/上传/下载视频。 他们还可以对视频发表评论。 该项目的最终目标是建立一个像TikTok这样的社区。 ####简单高效的直播服务器: 安装和使用非常简单; 纯Golang,高性能和跨平台; 支持常用的传输协议,文件格式和编码格式; 支持的传输协议 HLS HTTP-FLV 设计图 API设计 使用HTTP协议完成对资源的操作。 三种类型的API: USER API:返回每个用户的状态。 RESOURCE API:返回视频的状态。 COMMENT API:返回一个特定视频/下的所有评论/ 流服务器设计 先决条件: UDP协议实现文件上传 令牌桶控制速率限制 调度器设计 异步删除 生产者-消费者模型 计时器:运行和停止 未来目标 断点续传 ♡Golang新特性 共享频道:不共享内存 云原生优化 处理程序->验证{1。 请求,2

文件下载

资源详情

[{"title":"( 53 个子文件 3.42MB ) video_server:一个基于golang_的流式视频网站","children":[{"title":"video_server-master","children":[{"title":"api","children":[{"title":"response.go <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"auth.go <span style='color:#111;'> 647B </span>","children":null,"spread":false},{"title":"handlers.go <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"dbops","children":[{"title":"internal.go <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"conn.go <span style='color:#111;'> 267B </span>","children":null,"spread":false},{"title":"api_test.go <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"api.go <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"session","children":[{"title":"ops.go <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"uuid.go <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":true},{"title":"main.go <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"defs","children":[{"title":"errs.go <span style='color:#111;'> 593B </span>","children":null,"spread":false},{"title":"def.go <span style='color:#111;'> 465B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"templates","children":[{"title":"userhome.html <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"home.js <span style='color:#111;'> 14.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"img","children":[{"title":"preloader.jpg <span style='color:#111;'> 43.33KB </span>","children":null,"spread":false}],"spread":true},{"title":"home.html <span style='color:#111;'> 3.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"stream","children":[{"title":"response.go <span style='color:#111;'> 163B </span>","children":null,"spread":false},{"title":"defs.go <span style='color:#111;'> 92B </span>","children":null,"spread":false},{"title":"limiter.go <span style='color:#111;'> 502B </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 867B </span>","children":null,"spread":false},{"title":"handler.go <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false},{"title":"asset","children":[{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Design.jpeg <span style='color:#111;'> 40.21KB </span>","children":null,"spread":false},{"title":"web-snapshot.png <span style='color:#111;'> 379.55KB </span>","children":null,"spread":false}],"spread":true},{"title":"scheduler","children":[{"title":"response.go <span style='color:#111;'> 154B </span>","children":null,"spread":false},{"title":"handlers.go <span style='color:#111;'> 485B </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"dbops","children":[{"title":"internal.go <span style='color:#111;'> 894B </span>","children":null,"spread":false},{"title":"conn.go <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"api.go <span style='color:#111;'> 386B </span>","children":null,"spread":false}],"spread":true},{"title":"taskrunner","children":[{"title":"trmain.go <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"defs.go <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"runner.go <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"runner_test.go <span style='color:#111;'> 533B </span>","children":null,"spread":false},{"title":"tasks.go <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.go <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":true},{"title":"DB_support","children":[{"title":"sessions.sql <span style='color:#111;'> 168B </span>","children":null,"spread":false},{"title":"db.md <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"comments.sql <span style='color:#111;'> 210B </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"web","children":[{"title":"handlers.go <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"defs.go <span style='color:#111;'> 486B </span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'> 547B </span>","children":null,"spread":false},{"title":"web.exe <span style='color:#111;'> 8.46MB </span>","children":null,"spread":false},{"title":"client.go <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true},{"title":".idea","children":[{"title":".gitignore <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"misc.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false},{"title":"video_server.iml <span style='color:#111;'> 322B </span>","children":null,"spread":false},{"title":"vcs.xml <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明