add count, pop ingester

This commit is contained in:
alexisvisco 2019-03-25 16:38:18 +01:00
parent dd927a4ab4
commit df036ec680
2 changed files with 42 additions and 6 deletions

View file

@ -19,6 +19,7 @@ func main() {
}
channel := sonic.IngesterChannel{Connection: connection}
e = channel.Push("test", "default", "captain", "lol is truth")
fmt.Println(e)
c, e := channel.Count("test", "default", "captain")
fmt.Println(c, e)
}