忽略dll文件git

This commit is contained in:
“wanyongkang”
2023-07-29 10:19:42 +08:00
parent 7f97317bcc
commit b562aba2b1
3868 changed files with 63608 additions and 385427 deletions

View File

@@ -1,32 +0,0 @@
package redis
import (
"fmt"
"github.com/go-redis/redis"
"time"
)
func RedisPullStart(parse chan<- *string, client *redis.Client) {
pong, err := client.Ping().Result()
if err != nil {
panic("redis连接失败")
}
fmt.Println(pong, err)
for {
vals, err := client.BLPop(0, "filebeat").Result()
if err != nil {
fmt.Println(err)
time.Sleep(time.Second * 10)
}
if len(vals) == 2 {
parse <- &vals[1]
}
}
}