add count, pop ingester
This commit is contained in:
parent
dd927a4ab4
commit
df036ec680
2 changed files with 42 additions and 6 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue