Skip to main content

Namespace: redis

Table of contents

Functions

Functions

Connect

Connect(host, port, password): boolean | null Connect tries to connect redis server with password

Parameters

Returns

boolean | null Example

Defined in

redis.ts:11

GetServerInfo

GetServerInfo(host, port): string | null GetServerInfo returns the server info for a redis server

Parameters

Returns

string | null Example

Defined in

redis.ts:25

GetServerInfoAuth

GetServerInfoAuth(host, port, password): string | null GetServerInfoAuth returns the server info for a redis server

Parameters

Returns

string | null Example

Defined in

redis.ts:39

IsAuthenticated

IsAuthenticated(host, port): boolean | null IsAuthenticated checks if the redis server requires authentication

Parameters

Returns

boolean | null Example

Defined in

redis.ts:53

RunLuaScript

RunLuaScript(host, port, password, script): any | null RunLuaScript runs a lua script on the redis server

Parameters

Returns

any | null Example

Defined in

redis.ts:67