Class Memcached

Implements

Constructors

Methods

Properties

Constructors

  • Parameters

    • host: string = "0.0.0.0"
    • port: number = 11211
    • lifetime: number = 10

    Returns Memcached

Methods

  • Parameters

    • key: string

    Returns Promise<null | string>

  • Parameters

    • key: string
    • value: string

    Returns Promise<void>

Properties

client: Memcached
lifetime: number