Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyValueList

Holds result of key/value pairs query

Hierarchy

  • KeyValueList

Index

Constructors

constructor

  • Returns KeyValueList

  • Parameters

    Returns KeyValueList

Methods

getIndex

  • getIndex(): number
  • Set Consul index

    Returns number

getList

  • Set list of key/value pairs

    Returns KeyValue[]

setIndex

  • Set Consul index

    Parameters

    • index: number

    Returns KeyValueList

setList

  • Set list of key/value pairs

    Parameters

    Returns KeyValueList

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc