Skip to content

Commit

Permalink
Merge pull request #20 from tair-opensource/add-pubsub
Browse files Browse the repository at this point in the history
feat:add support for pub/sub
  • Loading branch information
yangbodong22011 authored Sep 6, 2023
2 parents 98eae25 + fae065e commit 12575c2
Showing 1 changed file with 200 additions and 0 deletions.
200 changes: 200 additions & 0 deletions cts.json
Original file line number Diff line number Diff line change
Expand Up @@ -7314,5 +7314,205 @@
0
],
"since": "6.2.0"
},
{
"name": "psubscribe command",
"command": [
"psubscribe hello",
"quit"
],
"result": [
[
"psubscribe",
"hello",
1
],
"OK"
],
"since": "2.0.0",
"tags": "standalone"
},
{
"name": "psubscribe with RESET",
"command": [
"psubscribe hello RESET"
],
"result": [
[
"psubscribe",
"hello",
1
]
],
"since": "6.2.0",
"tags": "standalone"
},
{
"name": "publish command",
"command": [
"publish hello world"
],
"result": [
0
],
"since": "2.0.0"
},
{
"name": "pubsub channels command",
"command": [
"pubsub channels hello"
],
"result": [
[]
],
"since": "2.8.0"
},
{
"name": "pubsub numpat command",
"command": [
"pubsub numpat"
],
"result": [
0
],
"since": "2.8.0"
},
{
"name": "pubsub numsub command",
"command": [
"pubsub numsub hello"
],
"result": [
[
"hello",
0
]
],
"since": "2.8.0"
},
{
"name": "pubsub shardchannels command",
"command": [
"pubsub shardchannels hello"
],
"result": [
[]
],
"since": "7.0.0"
},
{
"name": "pubsub shardnumsub command",
"command": [
"pubsub shardnumsub hello"
],
"result": [
[
"hello",
0
]
],
"since": "7.0.0"
},
{
"name": "punsubscribe command",
"command": [
"punsubscribe hello"
],
"result": [
[
"punsubscribe",
"hello",
0
]
],
"since": "2.0.0"
},
{
"name": "spublish command",
"command": [
"spublish hello world"
],
"result": [
0
],
"since": "7.0.0"
},
{
"name": "ssubscribe command",
"command": [
"ssubscribe hello",
"quit"
],
"result": [
[
"ssubscribe",
"hello",
1
],
"OK"
],
"since": "7.0.0",
"tags": "standalone"
},
{
"name": "subscribe command",
"command": [
"subscribe hello",
"quit"
],
"result": [
[
"subscribe",
"hello",
1
],
"OK"
],
"since": "2.0.0",
"tags": "standalone"
},
{
"name": "subscribe with RESET",
"command": [
"subscribe hello RESET"
],
"result": [
[
"subscribe",
"hello",
1
]
],
"since": "6.2.0",
"tags": "standalone"
},
{
"name": "sunsubscribe command",
"command": [
"sunsubscribe hello"
],
"result": [
[
"sunsubscribe",
"hello",
0
]
],
"since": "7.0.0",
"tags": "standalone"
},
{
"name": "unsubscribe command",
"command": [
"unsubscribe hello"
],
"result": [
[
"unsubscribe",
"hello",
0
]
],
"since": "2.0.0"
}
]

0 comments on commit 12575c2

Please sign in to comment.