Skip to content

Commit fae065e

Browse files
committed
feat:add support for pub/sub
Signed-off-by: daz-3ux <[email protected]>
1 parent 98eae25 commit fae065e

File tree

1 file changed

+200
-0
lines changed

1 file changed

+200
-0
lines changed

cts.json

+200
Original file line numberDiff line numberDiff line change
@@ -7314,5 +7314,205 @@
73147314
0
73157315
],
73167316
"since": "6.2.0"
7317+
},
7318+
{
7319+
"name": "psubscribe command",
7320+
"command": [
7321+
"psubscribe hello",
7322+
"quit"
7323+
],
7324+
"result": [
7325+
[
7326+
"psubscribe",
7327+
"hello",
7328+
1
7329+
],
7330+
"OK"
7331+
],
7332+
"since": "2.0.0",
7333+
"tags": "standalone"
7334+
},
7335+
{
7336+
"name": "psubscribe with RESET",
7337+
"command": [
7338+
"psubscribe hello RESET"
7339+
],
7340+
"result": [
7341+
[
7342+
"psubscribe",
7343+
"hello",
7344+
1
7345+
]
7346+
],
7347+
"since": "6.2.0",
7348+
"tags": "standalone"
7349+
},
7350+
{
7351+
"name": "publish command",
7352+
"command": [
7353+
"publish hello world"
7354+
],
7355+
"result": [
7356+
0
7357+
],
7358+
"since": "2.0.0"
7359+
},
7360+
{
7361+
"name": "pubsub channels command",
7362+
"command": [
7363+
"pubsub channels hello"
7364+
],
7365+
"result": [
7366+
[]
7367+
],
7368+
"since": "2.8.0"
7369+
},
7370+
{
7371+
"name": "pubsub numpat command",
7372+
"command": [
7373+
"pubsub numpat"
7374+
],
7375+
"result": [
7376+
0
7377+
],
7378+
"since": "2.8.0"
7379+
},
7380+
{
7381+
"name": "pubsub numsub command",
7382+
"command": [
7383+
"pubsub numsub hello"
7384+
],
7385+
"result": [
7386+
[
7387+
"hello",
7388+
0
7389+
]
7390+
],
7391+
"since": "2.8.0"
7392+
},
7393+
{
7394+
"name": "pubsub shardchannels command",
7395+
"command": [
7396+
"pubsub shardchannels hello"
7397+
],
7398+
"result": [
7399+
[]
7400+
],
7401+
"since": "7.0.0"
7402+
},
7403+
{
7404+
"name": "pubsub shardnumsub command",
7405+
"command": [
7406+
"pubsub shardnumsub hello"
7407+
],
7408+
"result": [
7409+
[
7410+
"hello",
7411+
0
7412+
]
7413+
],
7414+
"since": "7.0.0"
7415+
},
7416+
{
7417+
"name": "punsubscribe command",
7418+
"command": [
7419+
"punsubscribe hello"
7420+
],
7421+
"result": [
7422+
[
7423+
"punsubscribe",
7424+
"hello",
7425+
0
7426+
]
7427+
],
7428+
"since": "2.0.0"
7429+
},
7430+
{
7431+
"name": "spublish command",
7432+
"command": [
7433+
"spublish hello world"
7434+
],
7435+
"result": [
7436+
0
7437+
],
7438+
"since": "7.0.0"
7439+
},
7440+
{
7441+
"name": "ssubscribe command",
7442+
"command": [
7443+
"ssubscribe hello",
7444+
"quit"
7445+
],
7446+
"result": [
7447+
[
7448+
"ssubscribe",
7449+
"hello",
7450+
1
7451+
],
7452+
"OK"
7453+
],
7454+
"since": "7.0.0",
7455+
"tags": "standalone"
7456+
},
7457+
{
7458+
"name": "subscribe command",
7459+
"command": [
7460+
"subscribe hello",
7461+
"quit"
7462+
],
7463+
"result": [
7464+
[
7465+
"subscribe",
7466+
"hello",
7467+
1
7468+
],
7469+
"OK"
7470+
],
7471+
"since": "2.0.0",
7472+
"tags": "standalone"
7473+
},
7474+
{
7475+
"name": "subscribe with RESET",
7476+
"command": [
7477+
"subscribe hello RESET"
7478+
],
7479+
"result": [
7480+
[
7481+
"subscribe",
7482+
"hello",
7483+
1
7484+
]
7485+
],
7486+
"since": "6.2.0",
7487+
"tags": "standalone"
7488+
},
7489+
{
7490+
"name": "sunsubscribe command",
7491+
"command": [
7492+
"sunsubscribe hello"
7493+
],
7494+
"result": [
7495+
[
7496+
"sunsubscribe",
7497+
"hello",
7498+
0
7499+
]
7500+
],
7501+
"since": "7.0.0",
7502+
"tags": "standalone"
7503+
},
7504+
{
7505+
"name": "unsubscribe command",
7506+
"command": [
7507+
"unsubscribe hello"
7508+
],
7509+
"result": [
7510+
[
7511+
"unsubscribe",
7512+
"hello",
7513+
0
7514+
]
7515+
],
7516+
"since": "2.0.0"
73177517
}
73187518
]

0 commit comments

Comments
 (0)