Name of the application. Names of a connected group of detective instances should be unique among that group
Adds a new dependency to the Detective instance. The name provided should preferably be unique among dependencies registered within the same detective instance.
Name of the dependency
Adds an HTTP endpoint as a dependency to the Detective instance, thereby allowing you to compose detective instances. This method creates a GET request to the provided url. If you want to customize the request (like using a different HTTP method, or adding headers), consider using the options
argument.
The URL to send the request to
Returns a standard HTTP handler function, which can be used with the http standard library module, or frameworks like express
Generated using TypeDoc
A Detective instance manages registered dependencies and endpoints. Dependencies can be registered with an instance. Each instance has a state which represents the health of its components.