mirror of
				https://github.com/langhuihui/monibuca.git
				synced 2025-10-31 18:22:34 +08:00 
			
		
		
		
	Compare commits
	
		
			37 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | c6257a560f | ||
|   | 3b3ffc18aa | ||
|   | 938bd92dca | ||
|   | 0c10c07be1 | ||
|   | 65d6f5c33e | ||
|   | 08c871653d | ||
|   | 8bae7cace2 | ||
|   | 133bf6eaa3 | ||
|   | d2d09b0386 | ||
|   | 668c1318c2 | ||
|   | dc4cf67705 | ||
|   | f3de8f2864 | ||
|   | 9e876fb424 | ||
|   | 7533d83ae7 | ||
|   | 69a61a77bd | ||
|   | 727d083079 | ||
|   | 4d8f4db08b | ||
|   | c01e148f84 | ||
|   | 8d0b344859 | ||
|   | 0faada1a13 | ||
|   | 3ffa4ab8b6 | ||
|   | ac742d07cf | ||
|   | 6df2a3b842 | ||
|   | c38bd36ecc | ||
|   | a769f1cbf4 | ||
|   | 8ec0515f60 | ||
|   | e2113e03df | ||
|   | 56bbc0ddf8 | ||
|   | 563f966fe4 | ||
|   | 0e3befd285 | ||
|   | e60871b55b | ||
|   | 785be6a939 | ||
|   | 7684856ccc | ||
|   | 2e76b74e74 | ||
|   | e67b3f3bc8 | ||
|   | c17302a8fc | ||
|   | 02738a1482 | 
							
								
								
									
										138
									
								
								.github/workflows/go.yml
									
									
									
									
										vendored
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										138
									
								
								.github/workflows/go.yml
									
									
									
									
										vendored
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -3,90 +3,84 @@ name: Go | ||||
| on: | ||||
|   create: | ||||
|     tags: | ||||
|       - v* | ||||
|       - v3* | ||||
| jobs: | ||||
|  | ||||
|   build: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|  | ||||
|     - name: Set up Go | ||||
|       uses: actions/setup-go@v2 | ||||
|       with: | ||||
|         go-version: 1.16 | ||||
|  | ||||
|     - name: Build | ||||
|       run: go build -o m7s_linux_x86_64 | ||||
|        | ||||
|     - name: Tar | ||||
|       run: tar -zcvf linux.tgz m7s_linux_x86_64 config.toml | ||||
|        | ||||
|     - name: Deploy | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|           local: /home/runner/work/monibuca/monibuca/linux.tgz | ||||
|           remote: /opt/dexter/linux.tgz | ||||
|           host: monibuca.com | ||||
|           username: root | ||||
|           privateKey: ${{ secrets.PEM }} | ||||
|     - name: Release | ||||
|       uses: softprops/action-gh-release@v1 | ||||
|       with: | ||||
|           files: "linux.tgz" | ||||
|   build2: | ||||
|     runs-on: windows-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|      | ||||
|     - name: Set up Go | ||||
|       uses: actions/setup-go@v2 | ||||
|       with: | ||||
|         go-version: 1.16 | ||||
|  | ||||
|     - name: Build | ||||
|       run: go build -o m7s_x86_64.exe | ||||
|              | ||||
|     - name: Tar | ||||
|       run: tar -zcvf windows.tgz m7s_x86_64.exe config.toml | ||||
|        | ||||
|     - name: Deploy | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|           local: D:\\a\\monibuca\\monibuca\\windows.tgz | ||||
|           remote: /opt/dexter/windows.tgz | ||||
|           host: monibuca.com | ||||
|           username: root | ||||
|           privateKey: ${{ secrets.PEM }} | ||||
|     - name: Release | ||||
|       uses: softprops/action-gh-release@v1 | ||||
|       with: | ||||
|           files: "windows.tgz" | ||||
|   build3: | ||||
|     runs-on: macos-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@v2 | ||||
|      | ||||
|       with: | ||||
|           fetch-depth: 1 | ||||
|  | ||||
|     - name: Set up Env | ||||
|       run: echo "version=${GITHUB_REF:11}" >> $GITHUB_ENV | ||||
|  | ||||
|     - name: Set up Go | ||||
|       uses: actions/setup-go@v2 | ||||
|       with: | ||||
|         go-version: 1.16 | ||||
|         go-version: 1.18 | ||||
|  | ||||
|     - name: Build | ||||
|       run: go build -o m7s_darwin_x86_64 | ||||
|     - name: Cache Go modules | ||||
|       uses: actions/cache@v1 | ||||
|       with: | ||||
|         path: ~/go/pkg/mod | ||||
|         key: runner.os−go−{ { hashFiles('**/go.sum') } } | ||||
|         restore-keys: ${{ runner.os }}-go-         | ||||
|  | ||||
|     - name: Tar | ||||
|       run: tar -zcvf mac.tgz m7s_darwin_x86_64 config.toml | ||||
|  | ||||
|     - name: Deploy | ||||
|     - name: Run GoReleaser | ||||
|       uses: goreleaser/goreleaser-action@v2 | ||||
|       if: success() && startsWith(github.ref, 'refs/tags/') | ||||
|       with: | ||||
|         version: latest | ||||
|         args: release --rm-dist | ||||
|       env: | ||||
|         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||
|                | ||||
|     - name: Deploy Windows | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|           local: /Users/runner/work/monibuca/monibuca/mac.tgz | ||||
|           remote: /opt/dexter/mac.tgz | ||||
|           host: monibuca.com | ||||
|           username: root | ||||
|           privateKey: ${{ secrets.PEM }} | ||||
|     - name: Release | ||||
|       uses: softprops/action-gh-release@v1 | ||||
|         local: dist/m7s_${{ env.version }}_windows_amd64.tar.gz | ||||
|         remote: /opt/dexter/windows.tgz | ||||
|         host: monibuca.com | ||||
|         username: root | ||||
|         privateKey: ${{ secrets.PEM }} | ||||
|  | ||||
|     - name: Deploy Mac | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|           files: "mac.tgz" | ||||
|         local: dist/m7s_${{ env.version }}_darwin_amd64.tar.gz | ||||
|         remote: /opt/dexter/mac.tgz | ||||
|         host: monibuca.com | ||||
|         username: root | ||||
|         privateKey: ${{ secrets.PEM }}		   | ||||
|  | ||||
|     - name: Deploy Mac arm64 | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|         local: dist/m7s_${{ env.version }}_darwin_arm64.tar.gz | ||||
|         remote: /opt/dexter/mac_arm64.tgz | ||||
|         host: monibuca.com | ||||
|         username: root | ||||
|         privateKey: ${{ secrets.PEM }}		         | ||||
|  | ||||
|     - name: Deploy Linux | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|         local: dist/m7s_${{ env.version }}_linux_amd64.tar.gz | ||||
|         remote: /opt/dexter/linux.tgz | ||||
|         host: monibuca.com | ||||
|         username: root | ||||
|         privateKey: ${{ secrets.PEM }} | ||||
|  | ||||
|     - name: Deploy Linux arm64 | ||||
|       uses: garygrossgarten/github-action-scp@release | ||||
|       with: | ||||
|         local: dist/m7s_${{ env.version }}_linux_arm64.tar.gz | ||||
|         remote: /opt/dexter/linux_arm64.tgz | ||||
|         host: monibuca.com | ||||
|         username: root | ||||
|         privateKey: ${{ secrets.PEM }}         | ||||
|          | ||||
|           | ||||
|   | ||||
							
								
								
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -6,4 +6,7 @@ resource | ||||
| /monibuca | ||||
| node_modules | ||||
| shutdown.bat | ||||
| shutdown.sh | ||||
| shutdown.sh | ||||
| .m7s | ||||
| debug.go | ||||
| dist/ | ||||
|   | ||||
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							| @@ -62,13 +62,21 @@ to submit your own plugin | ||||
| | Protocol | Pusher(push)-->Monibuca  |Source-->Monibuca(pull)|Monibuca-->Player(pull)|Monibuca(push)-->Other Server | ||||
| |---------| -------------|-------------| -------------|-------------| | ||||
| |rtmp|✔||✔| | ||||
| |rtsp|✔|✔|✔| | ||||
| |http-flv|||✔| | ||||
| |rtsp|✔|✔|✔|✔ | ||||
| |http-flv||✔|✔| | ||||
| |hls||✔|✔| | ||||
| |ws-flv|||✔| | ||||
| |webrtc|✔||✔ | ||||
| # Documentation | ||||
|  | ||||
| # Build & Test with docker | ||||
|  | ||||
| > development and testing only: IP and udp ports need to be exposed carefully in production. | ||||
| ```shell | ||||
| docker build . -f dockerfile -t m7s:3.0 | ||||
| docker run --name m7s -p 1935:1935 -p 8081:8081 -p 8082:8082 -p 554:554 m7s:3.0 | ||||
| ``` | ||||
|  | ||||
| # Documentation | ||||
|  | ||||
| 中文文档: | ||||
| [http://docs.monibuca.com](http://docs.monibuca.com). | ||||
|   | ||||
| @@ -47,6 +47,14 @@ bash <(curl -s -S -L https://monibuca.com/demo.sh) | ||||
|   | ||||
| 功能强大的仪表盘可以直观的看到服务器运行的状态、消耗的资源、以及其他统计信息。用户可以利用控制台对服务器进行配置和控制。 | ||||
|  | ||||
| # 在 Docker 中编译和测试 | ||||
|  | ||||
| > 生产服务需要暴露IP和大量端口,建议容器仅用于开发和测试 | ||||
| ```shell | ||||
| docker build . -f dockerfile -t m7s:3.0 | ||||
| docker run --name m7s -p 1935:1935 -p 8081:8081 -p 8082:8082 -p 554:554 m7s:3.0 | ||||
| ``` | ||||
|  | ||||
| # 交流微信群 | ||||
|  | ||||
| 进入网站首页上进行扫码 | ||||
|   | ||||
							
								
								
									
										38
									
								
								config.toml
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								config.toml
									
									
									
									
									
								
							| @@ -3,16 +3,20 @@ EnableAudio = true | ||||
| EnableVideo = true | ||||
| # 发布流默认过期时间单位秒 | ||||
| PublishTimeout = 60 | ||||
| # 自动关闭触发后延迟的秒数(期间内如果有新的订阅则取消触发关闭) | ||||
| AutoCloseAfter = 10 | ||||
| # RTP包乱序重排 | ||||
| RTPReorder = false | ||||
| [Summary] | ||||
| # 1秒中采样一次 | ||||
| SampleRate = 1 | ||||
| [RTMP] | ||||
| ListenAddr = ":1935" | ||||
| [GateWay] | ||||
| ListenAddr = ":8080" | ||||
| #ListenAddrTLS = ":8082" | ||||
| #CertFile = "xxx.cert" | ||||
| #KeyFile = "xxx.key" | ||||
| ListenAddr = ":8081" | ||||
| ListenAddrTLS = ":8082" | ||||
| CertFile = "server.pem" | ||||
| KeyFile = "server.key" | ||||
| [Jessica] | ||||
| #ListenAddr = ":8081" | ||||
| #ListenAddrTLS = ":8083" | ||||
| @@ -26,11 +30,7 @@ Size = 0 | ||||
| Days = 1 | ||||
| # 按照go layout格式化,默认按照小时 | ||||
| Formatter = "2006-01-02T15" | ||||
| [Cluster] | ||||
| # 监听端口代表该服务器为源服务器 | ||||
| ListenAddr = ":2019" | ||||
| # 源服务器地址,用于向源服务器进行推或拉流 | ||||
| #OriginServer = "" | ||||
| # [FFMPEG] | ||||
| [HLS] | ||||
| # 是否开启写磁盘,开启后侦测到发布流就会开始写TS文件 | ||||
| EnableWrite = false | ||||
| @@ -47,6 +47,9 @@ Path = "resource" | ||||
| #ListenAddrTLS = ":2021" | ||||
| #CertFile = "xxx.cert" | ||||
| #KeyFile = "xxx.key" | ||||
| #Reconnect = true | ||||
| [HDL.AutoPullList] | ||||
| # "live/hdl" = "http://flv.bdplay.nodemedia.cn/live/bbb.flv" | ||||
| [TS] | ||||
| # ts存放目录 | ||||
| Path  = "resource" | ||||
| @@ -59,8 +62,11 @@ AutoRecord  = false | ||||
| ListenAddr = ":554" | ||||
| Reconnect = true | ||||
| #启动后自动拉流,可以配置多个 | ||||
| #[RTSP.AutoPullList] | ||||
| #"live/rtsp2" = "rtsp://admin:admin@192.168.1.212:554/cam/realmonitor?channel=1&subtype=1" | ||||
| [RTSP.AutoPullList] | ||||
| # "live/rtsp" = "rtsp://114.116.215.52:38558/sub/3" | ||||
| # "live/rtsp" = "rtsp://admin:12345678ab@42.193.7.166:9514/11" | ||||
| # "live/rtc" = "rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4" | ||||
| # "live/rtsp" = "rtsp://admin:123456@42.193.7.166:9018/video1" | ||||
| [WebRTC] | ||||
| # 端口范围不配置的话是自动分配 | ||||
| # PortMin = 30000 | ||||
| @@ -73,8 +79,14 @@ Reconnect = true | ||||
| Serial = "34020000002000000001" | ||||
| Realm = "3402000000" | ||||
| Expires = 3600 | ||||
| # 媒体端口 | ||||
| # MediaPort = 58200 | ||||
| # 开启TCP拉流,默认关闭 | ||||
| # TCP = true | ||||
| # TCP端口数量,超过一个的话将会每个设备轮流使用,从MediaPort往下递增 | ||||
| # TCPMediaPortNum = 1 | ||||
| ListenAddr = "192.168.1.120:5060" | ||||
| # 自动停止发布,当订阅者数量将为0时,自动断开 | ||||
| AutoUnPublish = false | ||||
| # 自动停止发布,当订阅者数量将为0时,延迟N秒自动断开,-1代表不断开 | ||||
| AutoCloseAfter = -1 | ||||
| # 自动拉流,如果开启,则拿到设备注册信息后,就从设备拉流 | ||||
| AutoInvite = true | ||||
							
								
								
									
										46
									
								
								dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | ||||
| FROM golang:1.17.0-alpine3.14 as builder | ||||
|  | ||||
| LABEL maintainer="yangshuhai@pdnews.cn" | ||||
|  | ||||
| WORKDIR /app | ||||
|  | ||||
| # 先装好基础依赖,减少在代码变化时的重复构建时间 | ||||
| RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.14/main" > /etc/apk/repositories | ||||
| RUN echo "https://mirror.tuna.tsinghua.edu.cn/alpine/v3.14/community" >> /etc/apk/repositories | ||||
| RUN apk add --no-cache --update autoconf automake make gcc g++ | ||||
| RUN go env -w GO111MODULE=on | ||||
| RUN go env -w GOPROXY=https://goproxy.cn,direct | ||||
| RUN go get -d github.com/Monibuca/engine/v3@v3.4.7 | ||||
| RUN go get -d github.com/Monibuca/plugin-gateway/v3@v3.0.10 | ||||
| RUN go get -d github.com/Monibuca/plugin-gb28181/v3@v3.0.2 | ||||
| RUN go get -d github.com/Monibuca/plugin-hdl/v3@v3.0.5 | ||||
| RUN go get -d github.com/Monibuca/plugin-hls/v3@v3.0.6 | ||||
| RUN go get -d github.com/Monibuca/plugin-jessica/v3@v3.0.0 | ||||
| RUN go get -d github.com/Monibuca/plugin-logrotate/v3@v3.0.0 | ||||
| RUN go get -d github.com/Monibuca/plugin-record/v3@v3.0.0 | ||||
| RUN go get -d github.com/Monibuca/plugin-rtmp/v3@v3.0.1 | ||||
| RUN go get -d github.com/Monibuca/plugin-rtsp/v3@v3.0.7 | ||||
| RUN go get -d github.com/Monibuca/plugin-summary@v1.0.0 | ||||
| RUN go get -d github.com/Monibuca/plugin-ts/v3@v3.0.1 | ||||
| RUN go get -d github.com/Monibuca/plugin-webrtc/v3@v3.0.3 | ||||
|  | ||||
| # 再复制代码进行编译,可节省大量构建时间 | ||||
| COPY . . | ||||
| RUN go mod tidy | ||||
| RUN GOOS=linux go build -o m7s | ||||
|  | ||||
| # 构建完成则将成品复制到新的镜像中,减小镜像大小,可以考虑添加 upx 进一步减少空间 | ||||
| FROM alpine:3.14 | ||||
|  | ||||
| WORKDIR /app | ||||
| COPY --from=builder /app/m7s /app/m7s | ||||
| COPY config.toml /app/config.toml | ||||
| RUN /app/m7s --help | ||||
|  | ||||
| EXPOSE 554 | ||||
| EXPOSE 1935 | ||||
| EXPOSE 5060 | ||||
| EXPOSE 8081 | ||||
| EXPOSE 8082 | ||||
|  | ||||
| CMD ["/app/m7s", "-c", "/app/config.toml"] | ||||
							
								
								
									
										37
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										37
									
								
								go.mod
									
									
									
									
									
								
							| @@ -1,29 +1,38 @@ | ||||
| module github.com/langhuihui/monibuca | ||||
| module github.com/langhuihui/monibuca/v3 | ||||
|  | ||||
| go 1.16 | ||||
|  | ||||
| require ( | ||||
| 	github.com/Monibuca/engine/v3 v3.3.10 | ||||
| 	github.com/Monibuca/plugin-gateway/v3 v3.0.0-20211019071855-0dcd7beaae5b | ||||
| 	github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211113034441-35c9142d0ee1 | ||||
| 	github.com/Monibuca/plugin-hdl/v3 v3.0.0-20210807135828-9d98f5b8dd6c | ||||
| 	github.com/Monibuca/plugin-hls/v3 v3.0.0-20211104021421-6f91f3d95b26 | ||||
| 	github.com/Monibuca/plugin-jessica/v3 v3.0.0-20210807235919-48ac5fbec646 | ||||
| 	github.com/Monibuca/plugin-logrotate/v3 v3.0.0-20210710104346-3db68431dcab | ||||
| 	github.com/Monibuca/plugin-record/v3 v3.0.0-20210813073316-79dce1e0dc70 | ||||
| 	github.com/Monibuca/plugin-rtmp/v3 v3.0.0-20210819063901-526f2917b16d | ||||
| 	github.com/Monibuca/plugin-rtsp/v3 v3.0.0-20211014020055-a331359e972f | ||||
| 	github.com/Monibuca/plugin-summary v0.0.0-20210821070131-2261e0efb7b9 | ||||
| 	github.com/Monibuca/plugin-ts/v3 v3.0.0-20211102070816-4a93d4189c91 | ||||
| 	github.com/Monibuca/plugin-webrtc/v3 v3.0.0-20211102085549-53e36c75fded | ||||
| 	github.com/Monibuca/engine/v3 v3.5.1 | ||||
| 	github.com/Monibuca/plugin-gateway/v3 v3.0.14 | ||||
| 	github.com/Monibuca/plugin-gb28181/v3 v3.0.8 | ||||
| 	github.com/Monibuca/plugin-hdl/v3 v3.0.7 | ||||
| 	github.com/Monibuca/plugin-hls/v3 v3.0.6 | ||||
| 	github.com/Monibuca/plugin-jessica/v3 v3.0.0 | ||||
| 	github.com/Monibuca/plugin-logrotate/v3 v3.0.0 | ||||
| 	github.com/Monibuca/plugin-record/v3 v3.0.0 | ||||
| 	github.com/Monibuca/plugin-rtmp/v3 v3.0.3 | ||||
| 	github.com/Monibuca/plugin-rtsp/v3 v3.0.8 | ||||
| 	github.com/Monibuca/plugin-summary v1.0.0 | ||||
| 	github.com/Monibuca/plugin-ts/v3 v3.0.1 | ||||
| 	github.com/Monibuca/plugin-webrtc/v3 v3.0.3 | ||||
| 	github.com/Monibuca/utils/v3 v3.0.6 // indirect | ||||
| ) | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-ffmpeg => ../plugin-ffmpeg | ||||
| // replace github.com/Monibuca/plugin-webrtc/v3 => ../plugin-webrtc | ||||
| // replace github.com/Monibuca/plugin-gateway/v3 => ../plugin-gateway | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-rtsp/v3 => ../plugin-rtsp | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-gb28181/v3 => ../plugin-gb28181 | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-rtmp/v3 => ../plugin-rtmp | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-hls/v3 => ../plugin-hls | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-hdl/v3 => ../plugin-hdl | ||||
|  | ||||
| // replace github.com/Monibuca/engine/v3 => ../engine | ||||
|  | ||||
| // replace github.com/Monibuca/plugin-summary => ../plugin-summary | ||||
|   | ||||
							
								
								
									
										117
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										117
									
								
								go.sum
									
									
									
									
									
								
							| @@ -2,55 +2,48 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 | ||||
| github.com/BurntSushi/toml v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw= | ||||
| github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= | ||||
| github.com/Monibuca/engine/v3 v3.1.0/go.mod h1:yz6cssED2VlYu+g/LrxseBB9pcvsLM/o2QXa4gVY650= | ||||
| github.com/Monibuca/engine/v3 v3.1.1/go.mod h1:yz6cssED2VlYu+g/LrxseBB9pcvsLM/o2QXa4gVY650= | ||||
| github.com/Monibuca/engine/v3 v3.2.3/go.mod h1:odyqD/VTQDN4qgzajsgn7kW7MWDIzTHt+j+BcI8i+4g= | ||||
| github.com/Monibuca/engine/v3 v3.3.0/go.mod h1:odyqD/VTQDN4qgzajsgn7kW7MWDIzTHt+j+BcI8i+4g= | ||||
| github.com/Monibuca/engine/v3 v3.3.7/go.mod h1:odyqD/VTQDN4qgzajsgn7kW7MWDIzTHt+j+BcI8i+4g= | ||||
| github.com/Monibuca/engine/v3 v3.3.9 h1:s/jH+z845DhBsLlwt247xbQkhaba4oWGZLKjPUjEmvE= | ||||
| github.com/Monibuca/engine/v3 v3.3.9/go.mod h1:odyqD/VTQDN4qgzajsgn7kW7MWDIzTHt+j+BcI8i+4g= | ||||
| github.com/Monibuca/engine/v3 v3.3.10 h1:zRw9aGEmB6K6ee0figdRh2HZFGQSn2nvpptMT3Xm0HY= | ||||
| github.com/Monibuca/engine/v3 v3.3.10/go.mod h1:LowMZ/iw4t6tfTZkSYZHIA0Z1HE8b7xfTDLO4WhX3Hg= | ||||
| github.com/Monibuca/plugin-gateway/v3 v3.0.0-20211019071855-0dcd7beaae5b h1:E53fkYCIhHDORcJXR1FyymPLWJJDUh6K8q254etoTjY= | ||||
| github.com/Monibuca/plugin-gateway/v3 v3.0.0-20211019071855-0dcd7beaae5b/go.mod h1:bDI6d64yb50+3rMczouVQoTYWbGOZhVFgu3k/yKJdXU= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211031030004-75b1890e20d3 h1:22CLVwPLsltJ11TIpA/3KDUuK4TNrfgNTRRn61jP6NA= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211031030004-75b1890e20d3/go.mod h1:WvMoRJ8SfGctwtx/9jvY6s5FPJanJSxtfW3+A1TR1E0= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211110131813-de4a9668cdf0 h1:WCfvKBQfRHzGX4IQjaS4j9Wcb+Fii8zUt4UdrxL/DPc= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211110131813-de4a9668cdf0/go.mod h1:UnsBNYxlDaw8IpIjBJl9W0a9LbjtmIrDWltnsh4W5Dk= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211113034441-35c9142d0ee1 h1:XQUkTEtVAA9Ca2ultyht3cDRxQWPvaQ/8Rs2H3GS70w= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.0-20211113034441-35c9142d0ee1/go.mod h1:UnsBNYxlDaw8IpIjBJl9W0a9LbjtmIrDWltnsh4W5Dk= | ||||
| github.com/Monibuca/plugin-hdl/v3 v3.0.0-20210807135828-9d98f5b8dd6c h1:crcVwFF4qW8b3UoucGIK+wG0U03cx7numcI+bkRV9ng= | ||||
| github.com/Monibuca/plugin-hdl/v3 v3.0.0-20210807135828-9d98f5b8dd6c/go.mod h1:T4LdSfJIAMqmvmy9lXUL1RJ73JvhSBH2RdMKvs4N858= | ||||
| github.com/Monibuca/plugin-hls/v3 v3.0.0-20211104021421-6f91f3d95b26 h1:+dLb+fFGSDTSCUGTvDO73sNkJQJ06BTcUGYQy5WmnVE= | ||||
| github.com/Monibuca/plugin-hls/v3 v3.0.0-20211104021421-6f91f3d95b26/go.mod h1:Hlxpv0GFAwC0gy71U1Hku5Fs/I1VEd/N4IX+cVavz9o= | ||||
| github.com/Monibuca/plugin-jessica/v3 v3.0.0-20210807235919-48ac5fbec646 h1:wfge6Eakjoh+j6kRb8JlTazLWImWVbRqAVB/FlB4nHk= | ||||
| github.com/Monibuca/plugin-jessica/v3 v3.0.0-20210807235919-48ac5fbec646/go.mod h1:ycVTGh96OWFjzFfK7ErMcxTgohNZwagHRDab0GkTIFU= | ||||
| github.com/Monibuca/plugin-logrotate/v3 v3.0.0-20210710104346-3db68431dcab h1:s/yYXSOwXQxSdrPALlq8fHcdhtWnsM0RBPwAo2d+FOU= | ||||
| github.com/Monibuca/plugin-logrotate/v3 v3.0.0-20210710104346-3db68431dcab/go.mod h1:VK6gZDgLIIERvVTbshN+bd/966SBW/u1plVQATXH0q0= | ||||
| github.com/Monibuca/plugin-record/v3 v3.0.0-20210813073316-79dce1e0dc70 h1:NO3NLdkQfcQ754yaroFfGCeIFBEGp/IxTl/Nz7X+0wI= | ||||
| github.com/Monibuca/plugin-record/v3 v3.0.0-20210813073316-79dce1e0dc70/go.mod h1:CusWmmgSjE1rRaGO9O06LOvXSpKilfiFgRsUlYHvFq0= | ||||
| github.com/Monibuca/plugin-rtmp/v3 v3.0.0-20210819063901-526f2917b16d h1:6NQ6KaQyvyS9e5ELmQzKF0gmGx0wzotsWpIqhe5X748= | ||||
| github.com/Monibuca/plugin-rtmp/v3 v3.0.0-20210819063901-526f2917b16d/go.mod h1:dYR+AnljA8fGh29tmojgP1r+/MA+Bfwgpt2UsBD4wnM= | ||||
| github.com/Monibuca/plugin-rtsp/v3 v3.0.0-20211014020055-a331359e972f h1:0dwVQMy57iLVP5KjM/40Hv4FVnKKShF3VLduP69ByP8= | ||||
| github.com/Monibuca/plugin-rtsp/v3 v3.0.0-20211014020055-a331359e972f/go.mod h1:2yz/4W/CxaOPKVeOjnsd1EBbpfzrA6S1BccopnqM6vc= | ||||
| github.com/Monibuca/plugin-summary v0.0.0-20210821070131-2261e0efb7b9 h1:8JVquYo8PUQtc75vFa8ovPvsXSmU0N2twfD+8hOoZeM= | ||||
| github.com/Monibuca/plugin-summary v0.0.0-20210821070131-2261e0efb7b9/go.mod h1:1kiDXMF82y299q2+KKEeaKRpQFvVkiGAIGg8OhYk9Qk= | ||||
| github.com/Monibuca/plugin-ts/v3 v3.0.0-20210710125303-3fb5757b7c5b/go.mod h1:S+sUqUbZTiRws/GHoxcVVQdhOcuUQUxoAGDeQOAgKw0= | ||||
| github.com/Monibuca/plugin-ts/v3 v3.0.0-20211102070816-4a93d4189c91 h1:EuRpERsjqB65zOuw/LWsPS/wV8i+fCYNaCDA4jOFfFk= | ||||
| github.com/Monibuca/plugin-ts/v3 v3.0.0-20211102070816-4a93d4189c91/go.mod h1:S+sUqUbZTiRws/GHoxcVVQdhOcuUQUxoAGDeQOAgKw0= | ||||
| github.com/Monibuca/plugin-webrtc/v3 v3.0.0-20211102085549-53e36c75fded h1:ej6HcWw23Q7jWU6lFZW8/bjWh7Hlq5p1LvfKA1M2AvQ= | ||||
| github.com/Monibuca/plugin-webrtc/v3 v3.0.0-20211102085549-53e36c75fded/go.mod h1:IVauqiKgEXl/Wc2I7/GcUvO/9YYndwQwYyLP8EzYGR8= | ||||
| github.com/Monibuca/engine/v3 v3.4.1/go.mod h1:rgAUey5ziRhlh6WugWyA5fYKyGOvcwhtTMDk4sukE7E= | ||||
| github.com/Monibuca/engine/v3 v3.4.5/go.mod h1:Dik9pFxU9TFI5vj8Sv5QXZM+ooCs2fm9P7Uhe4yYNkQ= | ||||
| github.com/Monibuca/engine/v3 v3.5.0/go.mod h1:yNiVKeHxgv+Ez+f2RHXMkXoa5Oxv+G7Ch+MJdHi7ing= | ||||
| github.com/Monibuca/engine/v3 v3.5.1 h1:3AX+FwxerMw3JuyGXIOd/1dYCjA3IzWLKH/zq/GWe20= | ||||
| github.com/Monibuca/engine/v3 v3.5.1/go.mod h1:yNiVKeHxgv+Ez+f2RHXMkXoa5Oxv+G7Ch+MJdHi7ing= | ||||
| github.com/Monibuca/plugin-gateway/v3 v3.0.14 h1:gCQyOmdhOSNi8SMPcm11eT2P/Qi1tPzOaAX450F/gK4= | ||||
| github.com/Monibuca/plugin-gateway/v3 v3.0.14/go.mod h1:Pw5seYubBswGoF4knryLbLp6qrkYPwg3a7ZupgOir/4= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.8 h1:UMLoxZfIqsyV/vBldx0lt0LU5i2jvlMB8Yboms9vvKA= | ||||
| github.com/Monibuca/plugin-gb28181/v3 v3.0.8/go.mod h1:EIu6vD1irPweLcA+1dC4k05wVe6ygYn6ErMfEx+UYPo= | ||||
| github.com/Monibuca/plugin-hdl/v3 v3.0.7 h1:caNQwYzOVYgAxGksTEYVey9LW/7v1VlvgwSYqANHlZ0= | ||||
| github.com/Monibuca/plugin-hdl/v3 v3.0.7/go.mod h1:ImBolaupuPvXGoWD5hOUUMvSPPuzrg2lzVWqhcXmdVA= | ||||
| github.com/Monibuca/plugin-hls/v3 v3.0.6 h1:WfM9BeTnezQJK6WmC40A3yyxXXGFqJNMePvcjKtYa+M= | ||||
| github.com/Monibuca/plugin-hls/v3 v3.0.6/go.mod h1:HRfFcEfpBZYrbtj4j46wLhYuAcZdTukzpw87CLf8FcE= | ||||
| github.com/Monibuca/plugin-jessica/v3 v3.0.0 h1:ArSiHOHfcekBfUOJMFZ0IJSbP/B1TnvcC5gegTpcbDw= | ||||
| github.com/Monibuca/plugin-jessica/v3 v3.0.0/go.mod h1:pf2lC2r3ZC1DYffW12zDPJH1sX59suI9JNXXuokZdbE= | ||||
| github.com/Monibuca/plugin-logrotate/v3 v3.0.0 h1:lWLgfKx2tVmXomzmZNACDzl/8HCHAkxyAmxT+ReLa9g= | ||||
| github.com/Monibuca/plugin-logrotate/v3 v3.0.0/go.mod h1:OltyTXYmIGyUaZap+/qyEm87HVmn14PzEUCtAmNAUUg= | ||||
| github.com/Monibuca/plugin-record/v3 v3.0.0 h1:449s+La2O5in0jaIdA94iK3QIS1s+G73VQXeLUiciN0= | ||||
| github.com/Monibuca/plugin-record/v3 v3.0.0/go.mod h1:71pviyOflKsNq+ijPKOgcsKqZkvZ91PzJxLJWPDzYe0= | ||||
| github.com/Monibuca/plugin-rtmp/v3 v3.0.3 h1:pXVmMwZ8yb2eoiOm3PGSCr7C9D6MtfTG4ghIH3oJte0= | ||||
| github.com/Monibuca/plugin-rtmp/v3 v3.0.3/go.mod h1:subd/7X5wcPbt5PDc0tbJ9RqNkvnrLJGj05RsYw25A8= | ||||
| github.com/Monibuca/plugin-rtsp/v3 v3.0.8 h1:wKGcTxwyZdG63AR5ZW9M5vYfUvMHY/iwmsq56XibEfQ= | ||||
| github.com/Monibuca/plugin-rtsp/v3 v3.0.8/go.mod h1:byXGE5BxFv0RpcoOjcQRt7B7mZvrgNuVpRn0kJtFIkU= | ||||
| github.com/Monibuca/plugin-summary v1.0.0 h1:tWL7KWw5mcep2jAhG3Gzd1DCiLSyCl3u3nmJtYkqGFA= | ||||
| github.com/Monibuca/plugin-summary v1.0.0/go.mod h1:rpSCVcPrecGlgT+aoCYsA6MawsE6ELT2mMGYYlSfTWo= | ||||
| github.com/Monibuca/plugin-ts/v3 v3.0.0/go.mod h1:S+sUqUbZTiRws/GHoxcVVQdhOcuUQUxoAGDeQOAgKw0= | ||||
| github.com/Monibuca/plugin-ts/v3 v3.0.1 h1:WPjDsv7s1aqDcpBzPJrC9CvaHZvnDf92qEQaBx6oR3c= | ||||
| github.com/Monibuca/plugin-ts/v3 v3.0.1/go.mod h1:Xndravs2PFGXHr4ZtAZ+azPBjDBBTB8ZanP8zrvu11o= | ||||
| github.com/Monibuca/plugin-webrtc/v3 v3.0.3 h1:MWIQEZwIlxlruEU5rxiH7KhhKyCp3fZf0qrxF2gFd7Y= | ||||
| github.com/Monibuca/plugin-webrtc/v3 v3.0.3/go.mod h1:eH8O1nvkxpHJVmasyXK1r/oOsAuXdwQ8TvkyVLR5Crg= | ||||
| github.com/Monibuca/utils/v3 v3.0.0/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/Monibuca/utils/v3 v3.0.1/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/Monibuca/utils/v3 v3.0.2 h1:n2vr67DHanav8wBC9IENk8xrKzeGJnBsxYUu69s8TrQ= | ||||
| github.com/Monibuca/utils/v3 v3.0.2/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/Monibuca/utils/v3 v3.0.3 h1:kSULFYDaMe7dXc1wO+5JHjP8HwkbA1lNUBvwl4yEV/M= | ||||
| github.com/Monibuca/utils/v3 v3.0.3/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/Monibuca/utils/v3 v3.0.4 h1:PssGhww+qePzw4qpB3g2DCG5Buru0Cu64UiqtAPuHjc= | ||||
| github.com/Monibuca/utils/v3 v3.0.4/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/StackExchange/wmi v1.2.0 h1:noJEYkMQVlFCEAc+2ma5YyRhlfjcWfZqk5sBRYozdyM= | ||||
| github.com/StackExchange/wmi v1.2.0/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= | ||||
| github.com/aler9/gortsplib v0.0.0-20211101093931-7e978595b571 h1:OI3t4r5KXhLZnLelzqzjRf/sSdCzyTeKWjFML6ibupc= | ||||
| github.com/aler9/gortsplib v0.0.0-20211101093931-7e978595b571/go.mod h1:fyQrQyHo8QvdR/h357tkv1g36VesZlzEPsdAu2VrHHc= | ||||
| github.com/Monibuca/utils/v3 v3.0.5/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/Monibuca/utils/v3 v3.0.6 h1:Ya1KjxmirzHnaLneOgbopzMm9NhJtZxD4XqePefOYZw= | ||||
| github.com/Monibuca/utils/v3 v3.0.6/go.mod h1:RpNS95gapWs6gimwh8Xn2x72FN5tO7Powabj7dTFyvE= | ||||
| github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA= | ||||
| github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8= | ||||
| github.com/agiledragon/gomonkey/v2 v2.2.0 h1:QJWqpdEhGV/JJy70sZ/LDnhbSlMrqHAWHcNOjz1kyuI= | ||||
| github.com/agiledragon/gomonkey/v2 v2.2.0/go.mod h1:ap1AmDzcVOAz1YpeJ3TCzIgstoaWLA6jbbgxfB4w2iY= | ||||
| github.com/aler9/gortsplib v0.0.0-20211212220644-6f374e396529 h1:j2tfs+eUubyZnuwmYWzK+IS681IixfUyD8bivz4sqAw= | ||||
| github.com/aler9/gortsplib v0.0.0-20211212220644-6f374e396529/go.mod h1:fyQrQyHo8QvdR/h357tkv1g36VesZlzEPsdAu2VrHHc= | ||||
| github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef h1:2JGTg6JapxP9/R33ZaagQtAM4EkkSYnIAlOG5EI8gkM= | ||||
| github.com/asaskevich/EventBus v0.0.0-20200907212545-49d423059eef/go.mod h1:JS7hed4L1fj0hXcyEejnW57/7LCetXggd+vwrRnYeII= | ||||
| github.com/asticode/go-astikit v0.20.0/go.mod h1:h4ly7idim1tNhaVkdVBeXQZEE3L0xblP7fCWbgwipF0= | ||||
| github.com/asticode/go-astits v1.10.0/go.mod h1:DkOWmBNQpnr9mv24KfZjq4JawCFX1FCqjLVGvO0DygQ= | ||||
| github.com/cnotch/apirouter v0.0.0-20200731232942-89e243a791f3/go.mod h1:5deJPLON/x/s2dLOQfuKS0lenhOIT4xX0pvtN/OEIuY= | ||||
| @@ -93,12 +86,14 @@ github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw | ||||
| github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= | ||||
| github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= | ||||
| github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= | ||||
| github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= | ||||
| github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= | ||||
| github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= | ||||
| github.com/icza/bitio v1.0.0 h1:squ/m1SHyFeCA6+6Gyol1AxV9nmPPlJFT8c2vKdj3U8= | ||||
| github.com/icza/bitio v1.0.0/go.mod h1:0jGnlLAx8MKMr9VGnn/4YrvZiprkvBelsVIbA9Jjr9A= | ||||
| github.com/icza/mighty v0.0.0-20180919140131-cfd07d671de6 h1:8UsGZ2rr2ksmEru6lToqnXgA8Mz1DP11X4zSJ159C3k= | ||||
| github.com/icza/mighty v0.0.0-20180919140131-cfd07d671de6/go.mod h1:xQig96I1VNBDIWGCdTt54nHt6EeI639SmHycLYL7FkA= | ||||
| github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= | ||||
| github.com/kelindar/process v0.0.0-20170730150328-69a29e249ec3/go.mod h1:+lTCLnZFXOkqwD8sLPl6u4erAc0cP8wFegQHfipz7KE= | ||||
| github.com/kelindar/rate v1.0.0/go.mod h1:AjT4G+hTItNwt30lucEGZIz8y7Uk5zPho6vurIZ+1Es= | ||||
| github.com/kelindar/tcp v1.0.0/go.mod h1:JB5hj1cshLU60XrLij2BBxW3JQ4hOye8vqbyvuKb52k= | ||||
| @@ -180,6 +175,8 @@ github.com/quangngotan95/go-m3u8 v0.1.0/go.mod h1:smzfWHlYpBATVNu1GapKLYiCtEo5Jx | ||||
| github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw= | ||||
| github.com/shirou/gopsutil v3.21.6+incompatible h1:mmZtAlWSd8U2HeRTjswbnDLPxqsEoK01NK+GZ1P+nEM= | ||||
| github.com/shirou/gopsutil v3.21.6+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA= | ||||
| github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= | ||||
| github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= | ||||
| github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518/go.mod h1:CKI4AZ4XmGV240rTHfO0hfE83S6/a3/Q1siZJ/vXf7A= | ||||
| github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | ||||
| github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= | ||||
| @@ -187,12 +184,10 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5 | ||||
| github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= | ||||
| github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= | ||||
| github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= | ||||
| github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125 h1:3SNcvBmEPE1YlB1JpVZouslJpI3GBNoiqW7+wb0Rz7w= | ||||
| github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125/go.mod h1:M8agBzgqHIhgj7wEn9/0hJUZcrvt9VY+Ln+S1I5Mha0= | ||||
| github.com/tklauser/go-sysconf v0.3.6 h1:oc1sJWvKkmvIxhDHeKWvZS4f6AW+YcoguSfRF2/Hmo4= | ||||
| github.com/tklauser/go-sysconf v0.3.6/go.mod h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI= | ||||
| github.com/tklauser/numcpus v0.2.2 h1:oyhllyrScuYI6g+h/zUvNXNp1wy7x8qQy3t/piefldA= | ||||
| github.com/tklauser/numcpus v0.2.2/go.mod h1:x3qojaO3uyYt0i56EW/VUYs7uBvdl2fkfZFu0T9wgjM= | ||||
| github.com/tklauser/go-sysconf v0.3.9 h1:JeUVdAOWhhxVcU6Eqr/ATFHgXk/mmiItdKeJPev3vTo= | ||||
| github.com/tklauser/go-sysconf v0.3.9/go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs= | ||||
| github.com/tklauser/numcpus v0.3.0 h1:ILuRUQBtssgnxw0XXIjKUC56fgnOrFoQQ/4+DeU2biQ= | ||||
| github.com/tklauser/numcpus v0.3.0/go.mod h1:yFGUr7TUHQRAhyqBcEg0Ge34zDBAsIvJJcyE6boqnA8= | ||||
| github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= | ||||
| github.com/zhangpeihao/goamf v0.0.0-20140409082417-3ff2c19514a8 h1:r1JUI0wuHlgRb8jNd3zPBBkjUdrjpVKr8SdJWc8ntg8= | ||||
| github.com/zhangpeihao/goamf v0.0.0-20140409082417-3ff2c19514a8/go.mod h1:RZd/IqzNpFANwOB9rVmsnAYpo/6KesK4PqrN1a5cRgg= | ||||
| @@ -205,6 +200,7 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 h1:7I4JAnoQBe7ZtJcBaYHi5U | ||||
| golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= | ||||
| golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= | ||||
| golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= | ||||
| golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= | ||||
| golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= | ||||
| golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= | ||||
| golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= | ||||
| @@ -216,13 +212,11 @@ golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v | ||||
| golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= | ||||
| golang.org/x/net v0.0.0-20210331212208-0fccb6fa2b5c/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= | ||||
| golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/net v0.0.0-20210716203947-853a461950ff/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/net v0.0.0-20211005001312-d4b1ae081e3b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/net v0.0.0-20211020060615-d418f374d309 h1:A0lJIi+hcTR6aajJH4YqKWwohY4aW9RO7oRMcdv+HKI= | ||||
| golang.org/x/net v0.0.0-20211020060615-d418f374d309/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/net v0.0.0-20211105192438-b53810dc28af h1:SMeNJG/vclJ5wyBBd4xupMsSJIHTd1coW9g7q6KOjmY= | ||||
| golang.org/x/net v0.0.0-20211105192438-b53810dc28af/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2 h1:CIJ76btIcR3eFI5EgSo6k1qKw9KJexJuRLI9G7Hp5wE= | ||||
| golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= | ||||
| golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
| golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
| golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
| @@ -243,25 +237,22 @@ golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7w | ||||
| golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||
| golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||
| golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||
| golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||
| golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||
| golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= | ||||
| golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
| golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
| golang.org/x/sys v0.0.0-20211013075003-97ac67df715c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
| golang.org/x/sys v0.0.0-20210816074244-15123e1e1f71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
| golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 h1:2B5p2L5IfGiD7+b9BOoRMC6DgObAVZV+Fsp050NqXik= | ||||
| golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
| golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c h1:QOfDMdrf/UwlVR0UBq2Mpr58UzNtvgJRXA4BgPfFACs= | ||||
| golang.org/x/sys v0.0.0-20211102061401-a2f17f7b995c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
| golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= | ||||
| golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= | ||||
| golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= | ||||
| golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= | ||||
| golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M= | ||||
| golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= | ||||
| golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= | ||||
| golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= | ||||
| golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= | ||||
| golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= | ||||
| golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= | ||||
| golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= | ||||
| golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= | ||||
|   | ||||
							
								
								
									
										38
									
								
								goreleaser.yml
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										38
									
								
								goreleaser.yml
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,38 @@ | ||||
| project_name: m7s | ||||
| archives: | ||||
|   - | ||||
|     files: | ||||
|       - config.toml | ||||
| builds: | ||||
|   - env: [CGO_ENABLED=0] | ||||
|     ignore: | ||||
|       - goos: windows | ||||
|         goarch: arm64      | ||||
|     goos: | ||||
|       - linux | ||||
|       - windows | ||||
|       - darwin | ||||
|     goarch: | ||||
|       - amd64 | ||||
|       - arm64 | ||||
| #dockers: | ||||
| #  - image_templates: ["ghcr.io/goreleaser/example:{{ .Version }}"] | ||||
| #    dockerfile: Dockerfile | ||||
| #    build_flag_templates: | ||||
| #      - --label=org.opencontainers.image.title={{ .ProjectName }} | ||||
| #      - --label=org.opencontainers.image.description={{ .ProjectName }} | ||||
| #      - --label=org.opencontainers.image.url=https://github.com/goreleaser/example | ||||
| #      - --label=org.opencontainers.image.source=https://github.com/goreleaser/example | ||||
| #      - --label=org.opencontainers.image.version={{ .Version }} | ||||
| #      - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }} | ||||
| #      - --label=org.opencontainers.image.revision={{ .FullCommit }} | ||||
| #      - --label=org.opencontainers.image.licenses=MIT | ||||
| #nfpms: | ||||
| #  - maintainer: Carlos A Becker <root@carlosbecker.dev> | ||||
| #    description: Sample project. | ||||
| #    homepage: https://github.com/caarlos0/tasktimer | ||||
| #    license: MIT | ||||
| #    formats: | ||||
| #      - deb | ||||
| #      - rpm | ||||
| #      - apk | ||||
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							| @@ -31,12 +31,12 @@ func main() { | ||||
| 	addr := flag.String("c", "config.toml", "config file") | ||||
| 	flag.Parse() | ||||
| 	ctx, cancel := context.WithCancel(context.Background()) | ||||
| 	go waiter(cancel) | ||||
| 	if _, err := os.Stat(*addr); err == nil { | ||||
| 		Run(ctx, *addr) | ||||
| 	} else { | ||||
| 		Run(ctx, filepath.Join(filepath.Dir(os.Args[0]), *addr)) | ||||
| 	} | ||||
| 	waiter(cancel) | ||||
| } | ||||
|  | ||||
| func waiter(cancel context.CancelFunc) { | ||||
|   | ||||
							
								
								
									
										
											BIN
										
									
								
								monibuca_windows_amd64.syso
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								monibuca_windows_amd64.syso
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										27
									
								
								server.key
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								server.key
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| -----BEGIN RSA PRIVATE KEY----- | ||||
| MIIEpQIBAAKCAQEA9GfMG29OMywEVPWgQ0po9ItEamQtLr7Vo16FabJ4C/YyzGlD | ||||
| P48aJ5jcOazdVbVN9spndyk1fDBmO+tDkSw9nD2TI+GrXdEf/hDN3voTK5W2oZag | ||||
| 1tVqjENprtTlk1JgzM3Cpe/CZJcBCjp040Dl6ccS9rkyFoYE1PsIkaottxV0iUoY | ||||
| WMVJtEt5FZQZ4Uu6RhlR0DKVGLq/V20F0cwvYmU4BaPigsKx/Azn8QNSaaePy947 | ||||
| XPZn/he1JjNcqXp185ZGF7AvIbkJGCsH6YOnMhppidI/i4z5kE14dOXWnO2C6f6Z | ||||
| LN4X24JtTTIcjkQ/KSR0KLy8XHafseA55ztK2QIDAQABAoIBAQCeGU7lKFkzrPOY | ||||
| adOj88x09GnrUKYRqQzVw10WBIa3ZilyJV2FDfLjTnSXMoVy3fdy/3dyk8uvbDeV | ||||
| 5xgsHqw0F3jJK0AJTjAdz4z9AlPIS+56FNAyaJel6C3DFKD1bcKEeU3CvZfILg5U | ||||
| KYBXSTHwygAwbZhDDaqugz0FzUoJNaoxLChdPLnpVat/WjWIvqnLJ6OMx9J0LdxK | ||||
| FsIw6OruiZEalQBJ5R/uhX6MasSUrnUuwloeuDNtEoyF67+Vuor0JtirN7HbaTFK | ||||
| IKx5tRKXtJNGy82G45He/qZeXENEF/02NN3JehX5hxZfH0BtRgoARgt+gVDP67SX | ||||
| tqrmcl8hAoGBAPnMVZQNmdsK8DT3GdTxBjMYEBa/PgTbX1MzLgcEjE/0l5ppBQmv | ||||
| n5ckXwGkVEM7DEbMBfV3GLMRsW/+Gu4VFXdvgGix7zylWmbWB5a+yxG+1HHPV5WI | ||||
| Yabi0vZf3Y7KIPooNxAwgeWKpLnDiPh4WvCm45i2oT27CxMkUX8JubRdAoGBAPp5 | ||||
| MB7WPm9QN6U80Tg6RGz/YqVa3xhG65vrUesneK9N/SdTtb1z09r+Gat/DL+ACWfc | ||||
| f2p5JTPoRO1v7cpYYdmamTYXhxEec3+72j0WeGdiGsYVO48TepfN1IXw1U4W3tXY | ||||
| K4jBFgsjzLWW75DTSnKkT4th/dZT23oszLTR54itAoGAFxFLhdSLtLKZ5Ao9lHB9 | ||||
| hhJeyfr3GzO25dQAGB3PZ0LLDTNNh8t0DV0KePhX362AQLlug3BwE3k6zYDFs962 | ||||
| kMT3MrPbx9ntMznokX8k+YqJy8i96c0iV2ry2FWZ/CmmSfOUwiX4mN3owE7SQz+6 | ||||
| BicjNWMIGM9BAo+EBxs6zvECgYEA4Qj6q+nvBFF8/S9MBgmLqqY0+b1QDV7Clj5x | ||||
| RiYbbt1R4gB6m3EyWWHMrGEkkfU1/iOEMqQPQbigHPdgHFkV6MzWdFvlFQNX395l | ||||
| 8FZ87N2eknNHJH/qt/LMy14aNuOjZ1ulmWNpK68JX+jw6hx7mc54TRFIX0TOPtF7 | ||||
| RcYFEK0CgYEAhJH+7qaiJkH8pdNJsIu+d4MSi7gTTJDeaplQJzjQqlMihCM+Vieu | ||||
| RWx+T4TTezcBp8gLhF9WjUEgcEqLRJaJ2qxZWnJtxROGcVqj202DciN27lpKyMJW | ||||
| Fz/anEaq6k7WsoFxCDNqSR4nP7kiR1EZlv1Y3Lh9j5eAvZfGMwma9Uk= | ||||
| -----END RSA PRIVATE KEY----- | ||||
							
								
								
									
										23
									
								
								server.pem
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								server.pem
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| -----BEGIN CERTIFICATE----- | ||||
| MIID2DCCAsCgAwIBAgIQS3ina9KfQpGwnzf0oMQ/VDANBgkqhkiG9w0BAQsFADBe | ||||
| MQswCQYDVQQGEwJDTjEOMAwGA1UEChMFTXlTU0wxKzApBgNVBAsTIk15U1NMIFRl | ||||
| c3QgUlNBIC0gRm9yIHRlc3QgdXNlIG9ubHkxEjAQBgNVBAMTCU15U1NMLmNvbTAe | ||||
| Fw0yMTEyMjcxMzM5MzJaFw0yMjEyMjcxMzM5MzJaMCExCzAJBgNVBAYTAkNOMRIw | ||||
| EAYDVQQDEwlsb2NhbGhvc3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB | ||||
| AQD0Z8wbb04zLARU9aBDSmj0i0RqZC0uvtWjXoVpsngL9jLMaUM/jxonmNw5rN1V | ||||
| tU32ymd3KTV8MGY760ORLD2cPZMj4atd0R/+EM3e+hMrlbahlqDW1WqMQ2mu1OWT | ||||
| UmDMzcKl78JklwEKOnTjQOXpxxL2uTIWhgTU+wiRqi23FXSJShhYxUm0S3kVlBnh | ||||
| S7pGGVHQMpUYur9XbQXRzC9iZTgFo+KCwrH8DOfxA1Jpp4/L3jtc9mf+F7UmM1yp | ||||
| enXzlkYXsC8huQkYKwfpg6cyGmmJ0j+LjPmQTXh05dac7YLp/pks3hfbgm1NMhyO | ||||
| RD8pJHQovLxcdp+x4DnnO0rZAgMBAAGjgc4wgcswDgYDVR0PAQH/BAQDAgWgMB0G | ||||
| A1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSMEGDAWgBQogSYF0TQa | ||||
| P8FzD7uTzxUcPwO/fzBjBggrBgEFBQcBAQRXMFUwIQYIKwYBBQUHMAGGFWh0dHA6 | ||||
| Ly9vY3NwLm15c3NsLmNvbTAwBggrBgEFBQcwAoYkaHR0cDovL2NhLm15c3NsLmNv | ||||
| bS9teXNzbHRlc3Ryc2EuY3J0MBQGA1UdEQQNMAuCCWxvY2FsaG9zdDANBgkqhkiG | ||||
| 9w0BAQsFAAOCAQEAb/ZSwe0DS38TlVtxsueYMNWxfVzKA2WMzyabuRbsUMl8ja2Q | ||||
| GWVOpb1EyCF8nPYtbalrbm8BWFyW9+qDtkLmpMZaFKx4VqhjbQnpK3tJliea+9U3 | ||||
| gtFKBVCinW81RnaET0A54Uy7ifrHWghBGjfXGfHx8bWMDYM2ksb5mC8BxPAueqnT | ||||
| 3s0g1iP8vVNvpiDeHsjyB1WQwt/Uj79sKrgRU3ZKAvPvHd61Dl7IZSJAR78XyOqG | ||||
| DyF67ftWb+5EaXeT1gUy8dmdUIYfNhZFZYljwQa+DmTcO4dPzmSuvz4I1QGRyaSX | ||||
| bYb8T4bgcmvHeSUKuhB/5/O4lPLW0NaOiUqA0g== | ||||
| -----END CERTIFICATE----- | ||||
		Reference in New Issue
	
	Block a user