跳到主要内容
版本:Next

@midwayjs/consul

Index

Type Aliases

ConsulClient

ConsulClient: InstanceType<typeof Consul>

ConsulOptions

ConsulOptions: ConstructorParameters<typeof Consul>[0]

GetHealthServiceOptions

GetHealthServiceOptions: { dc?: string; filter?: string; near?: string; ns?: string; passing?: boolean; peer?: string; service: string; tag?: string }

From ConsulClient['health']['service']

RegisterOptions

RegisterOptions: GetFirstParam<GetRegisterFn<ConsulClient[agent][service]>>