host
, port
, password
): boolean
| null
Connect tries to connect redis server with password
Name | Type |
---|---|
host | string |
port | number |
password | string |
boolean
| null
Example
host
, port
): string
| null
GetServerInfo returns the server info for a redis server
Name | Type |
---|---|
host | string |
port | number |
string
| null
Example
host
, port
, password
): string
| null
GetServerInfoAuth returns the server info for a redis server
Name | Type |
---|---|
host | string |
port | number |
password | string |
string
| null
Example
host
, port
): boolean
| null
IsAuthenticated checks if the redis server requires authentication
Name | Type |
---|---|
host | string |
port | number |
boolean
| null
Example
host
, port
, password
, script
): any
| null
RunLuaScript runs a lua script on the redis server
Name | Type |
---|---|
host | string |
port | number |
password | string |
script | string |
any
| null
Example