Added description for the HELLO command

This commit is contained in:
Kelvin Mwinuka
2024-07-01 09:23:58 +08:00
parent 5a04bcade0
commit f4fdc789b3

View File

@@ -226,7 +226,9 @@ Otherwise, the server will return "PONG".`,
Command: "hello", Command: "hello",
Module: constants.ConnectionModule, Module: constants.ConnectionModule,
Categories: []string{constants.FastCategory, constants.ConnectionCategory}, Categories: []string{constants.FastCategory, constants.ConnectionCategory},
Description: `(HELLO [protover [AUTH username password] [SETNAME clientname]])`, Description: `(HELLO [protover [AUTH username password] [SETNAME clientname]])
Switch to a different protocol, optionally authenticating and setting the connection's name,
or provide a contextual client report.`,
Sync: false, Sync: false,
KeyExtractionFunc: func(cmd []string) (internal.KeyExtractionFuncResult, error) { KeyExtractionFunc: func(cmd []string) (internal.KeyExtractionFuncResult, error) {
return internal.KeyExtractionFuncResult{ return internal.KeyExtractionFuncResult{