docs/en/consul.md
Hyperf provides a coroutine Consul client. Since Consul's own API is relatively simple and supports HTTP request methods, this component is only make some abstraction for The Consul API, and the coroutine HTTP client support provided by hyperf/guzzle.
ConsulResponsemeansHyperf\Consul\ConsulResponse
composer require hyperf/consul
The Hyperf\Consul\KVInterface interface implemented by Hyperf\Consul\KV.
The Hyperf\Consul\AgentInterface interface implemented by Hyperf\Consul\Agent.
The Hyperf\Consul\CatalogInterface interface implemented by Hyperf\Consul\Catalog.
The Hyperf\Consul\HealthInterface interface implemented by Hyperf\Consul\Health.
The Hyperf\Consul\SessionInterface interface implemented by Hyperf\Consul\Session.