Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ServiceList

Holds result of services query

Hierarchy

  • ServiceList

Index

Constructors

constructor

  • Returns ServiceList

  • Parameters

    Returns ServiceList

Methods

getIndex

  • getIndex(): number
  • Set Consul index, a unique identifier representing the current state of the requested list of services

    Returns number

getList

  • Set list of services

    Returns Service[]

setIndex

  • Set Consul index, a unique identifier representing the current state of the requested list of services

    Parameters

    • index: number

    Returns ServiceList

setList

  • Set list of services

    Parameters

    Returns ServiceList

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc