Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MicroserviceUserManager

import { MicroserviceUserManager } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";
class MicroserviceUserManager {
private getMicroserviceManager();
public async checkHealth(microservice: Mandarine.MandarineCore.MicroserviceItem): Promise<boolean>;
public delete(microservice: Mandarine.MandarineCore.MicroserviceItem);
public disableAutomaticHealthCheck();
public enableAutomaticHealthCheck();
public getMicroservices();
public remountFromExistent(microservice: Mandarine.MandarineCore.MicroserviceItem);
}

§Methods

§
getMicroserviceManager() private
[src]
§
checkHealth(microservice: Mandarine.MandarineCore.MicroserviceItem): Promise<boolean>
[src]
@param microservice

to be checked

@return

True if microservice is healthy or false if it is not

§
@param microservice

to be deleted

§
disableAutomaticHealthCheck()
[src]

Disables automatic health checks. If disabled, Mandarine is not responsible for checking and remounting unhealthy microservices

§
enableAutomaticHealthCheck()
[src]

Enable automatic health check. If enabled, Mandarine will check healthiness of microservices and remount them if they are unhealthy

§
getMicroservices()
[src]

Gets the list of all the microservices present in the application.

§
remountFromExistent(microservice: Mandarine.MandarineCore.MicroserviceItem)
[src]

Generates a new microservice and initializes it.

@param microservice

to be remounted