Connect(host, port, password)
⇒ boolean
GetServerInfo(host, port)
⇒ string
GetServerInfoAuth(host, port, password)
⇒ string
IsAuthenticated(host, port)
⇒ boolean
RunLuaScript(host, port, password, script)
boolean
redis
boolean
- - The status of the connection.error
- The error encountered during connection.Param | Type | Description |
---|---|---|
host | string | The host of the redis server. |
port | number | The port of the redis server. |
password | string | The password for the redis server. |
string
redis
string
- - The server info.error
- The error encountered during getting server info.Param | Type | Description |
---|---|---|
host | string | The host of the redis server. |
port | number | The port of the redis server. |
string
redis
string
- - The server info.error
- The error encountered during getting server info.Param | Type | Description |
---|---|---|
host | string | The host of the redis server. |
port | number | The port of the redis server. |
password | string | The password for the redis server. |
boolean
redis
boolean
- - The authentication status.error
- The error encountered during checking authentication.Param | Type | Description |
---|---|---|
host | string | The host of the redis server. |
port | number | The port of the redis server. |
redis
error
- The error encountered during running the lua script.Param | Type | Description |
---|---|---|
host | string | The host of the redis server. |
port | number | The port of the redis server. |
password | string | The password for the redis server. |
script | string | The lua script to run. |