Options
All
  • Public
  • Public/Protected
  • All
Menu

ioredis

Index

References

Renames and re-exports Redis

Type Aliases

ClusterNode: string | number | { host?: string; port?: number }
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: ((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: "master" | "slave" | "all"
RedisKey: string | Buffer
RedisValue: string | Buffer | number
StandaloneConnectionOptions: Partial<TcpOptions & IpcOptions> & { disconnectTimeout?: number; tls?: ConnectionOptions }

Variables

ReplyError: any = ...

Generated using TypeDoc