UNPKG

whale-nest-nacos

Version:

If you are a nest micro service architecture, you can use the SDK, so as to realize service discovery based on nacos, distributed load balancing strategy

26 lines (25 loc) 976 B
export declare const serverAddress: any; export declare const namespace: any; export declare const WHALE_CLUSTER_INFO: string | undefined; export declare const TIER_NAMESPACE: string | undefined; export declare const TIER_VERSION: string | undefined; export declare const TIER_ENVIRON: string | undefined; export declare const GRPC_PROXY_SERVICE = "grpc-proxy"; export declare const DEFAULT_LOGGER_LEVEL = "INFO"; export declare const DEFAULT_GROUP = "GRPC"; export declare const DEFAULT_CONFIG_GROUP = "HTTP"; export declare const DEFAULT_LOADER: { keepCase: boolean; enums: StringConstructor; longs: StringConstructor; defaults: boolean; }; export declare const DEFAULT_INSTANCE_OPTIONS: { namespace: any; clusterName: string | undefined; groupName: string; }; export declare const REQUESTTIMEOUT: number; export declare const RESPONSETIMEOUT: number; export declare const CONNECTTIMEOUT: number; export declare const DEFAULT_PROTOCOL = "https";