mirror of
https://github.com/bigbeer1/m7sRpc.git
synced 2026-04-22 23:37:13 +08:00
706c8eedc2
增加readme
569 B
569 B
plugin-reportor
数据同步上报插件——使得m7s实例可作把内存中信息同步到其他数据库中去:目前支持reids,redis-clusters
插件地址
https://github.com/bigbeer1/m7sRpc
插件引入
import (
_ "github.com/bigbeer1/m7sRpc"
)
配置
m7srpc:
name: m7s.rpc
listenon: 0.0.0.0:8810
timeout: 30000
origin代表源服务器拉流地址前缀,可以由如下几种格式:
type M7sRpcConfig struct {
Name string
ListenOn string
Timeout int64 `json:",default=2000"`
}