You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
325 B
19 lines
325 B
package dao |
|
|
|
import ( |
|
broadcasrtService "go-common/app/service/live/broadcast-proxy/api/v1" |
|
) |
|
|
|
var ( |
|
//BcastClient 弹幕服务 |
|
BcastClient *broadcasrtService.Client |
|
) |
|
|
|
//InitGrpc 初始化grpcclient |
|
func InitGrpc() { |
|
var err error |
|
BcastClient, err = broadcasrtService.NewClient(nil) |
|
if err != nil { |
|
panic(err) |
|
} |
|
}
|
|
|