Type Aliases
ClusterNode
ClusterNode: string | number | { host?: string; port?: number }
DNSLookupFunction
DNSLookupFunction: ((hostname: string, callback: ((err: NodeJS.ErrnoException | null | undefined, address: string, family?: number) => void)) => void)
Type declaration
- (hostname: string, callback: ((err: NodeJS.ErrnoException | null | undefined, address: string, family?: number) => void)): void
Parameters
hostname: string
callback: ((err: NodeJS.ErrnoException | null | undefined, address: string, family?: number) => void)
- (err: NodeJS.ErrnoException | null | undefined, address: string, family?: number): void
Parameters
err: NodeJS.ErrnoException | null | undefined
address: string
Optional family: number
Returns void
Returns void
DNSResolveSrvFunction
DNSResolveSrvFunction: ((hostname: string, callback: ((err: NodeJS.ErrnoException | null | undefined, records?: SrvRecord[]) => void)) => void)
Type declaration
- (hostname: string, callback: ((err: NodeJS.ErrnoException | null | undefined, records?: SrvRecord[]) => void)): void
Parameters
hostname: string
callback: ((err: NodeJS.ErrnoException | null | undefined, records?: SrvRecord[]) => void)
- (err: NodeJS.ErrnoException | null | undefined, records?: SrvRecord[]): void
Parameters
err: NodeJS.ErrnoException | null | undefined
Optional records: SrvRecord[]
Returns void
Returns void
NodeRole
NodeRole: "master" | "slave" | "all"
RedisKey
RedisKey: string | Buffer
RedisValue
RedisValue: string | Buffer | number
StandaloneConnectionOptions
StandaloneConnectionOptions: Partial<TcpOptions & IpcOptions> & { disconnectTimeout?: number; tls?: ConnectionOptions }