mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-10-05 08:47:00 +08:00
HDL插件导出
This commit is contained in:
4
pull.go
4
pull.go
@@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
func (puller *HDLPuller) Connect() (err error) {
|
||||
plugin.Info("connect", zap.String("remoteURL", puller.RemoteURL))
|
||||
HDLPlugin.Info("connect", zap.String("remoteURL", puller.RemoteURL))
|
||||
if strings.HasPrefix(puller.RemoteURL, "http") {
|
||||
var res *http.Response
|
||||
if res, err = http.Get(puller.RemoteURL); err == nil {
|
||||
@@ -72,4 +72,4 @@ type HDLPuller struct {
|
||||
Publisher
|
||||
Puller
|
||||
absTS uint32 //绝对时间戳
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user