driver is functional

This commit is contained in:
alexisvisco 2019-03-25 19:42:23 +01:00
parent df036ec680
commit 7dd0faf24b
3 changed files with 90 additions and 5 deletions

View file

@ -3,6 +3,7 @@ package main
import (
"fmt"
"github.com/expectedsh/go-sonic/sonic"
"time"
)
func main() {
@ -20,6 +21,10 @@ func main() {
channel := sonic.IngesterChannel{Connection: connection}
c, e := channel.Count("test", "default", "captain")
fmt.Println("waiting")
time.Sleep(time.Second * 10)
e = channel.Ping()
//c, e = channel.Count("test", "default", "captain")
fmt.Println(c, e)
}