///
///
export interface NacosNamingOptions {
logger: typeof console;
serverList: string | string[];
namespace?: string;
loggerLevel?: 'DEBUG' | 'INFO' | 'WARN' | 'ERROR';
}
export interface NacosInstance {
instanceId: string;
clusterName: string;
serviceName: string;
ip: string;
port: number;
weight: number;
ephemeral: boolean;
enabled: boolean;
valid: boolean;
marked: boolean;
healthy: boolean;
metadata: any;
}
export interface NacosInstanceOptions {
serviceName: string;
clusterName?: string;
groupName?: string;
ip: string;
port: number;
weight?: number;
valid?: boolean;
healthy?: boolean;
enabled?: boolean;
ephemeral?: boolean;
metadata?: any;
}
export interface NacosInstanceAsyncOptions {
inject?: any[];
useFactory(...args: any[]): Promise | NacosInstanceOptions;
}
//# sourceMappingURL=nacos.interface.d.ts.map